libabigail/tools
Dodji Seketeli 12c777681d Support symbol lookups from ELF
* include/abg-dwarf-reader.h (symbol_type, symbol_binding): New
	enums.
	(operator<<): Declare new overloads for the new enums above.
	(lookup_symbol_from_elf, lookup_public_function_symbol_from_elf):
	Declare new entry points.
	* src/abg-dwarf-reader.cc (lookup_symbol_from_elf)
	(lookup_public_function_symbol_from_elf)
	(lookup_public_variable_symbol_from_elf): Define new static
	functions.
	(read_context::elf_{module_, handle}_): New data members.
	(read_context::{elf_module, elf_handle}): New accessors.
	(read_context::load_debug_info): Store the elf module into
	read_context::_elf_module_.  Adjust.
	(read_context::{lookup_symbol_from_elf,
	lookup_public_function_symbol_from_elf,
	lookup_public_variable_symbol_from_elf}): New member functions.
	(lookup_symbol_from_elf, lookup_public_function_symbol_from_elf)
	(operator<<): Define public entry points.
	* tools/bisym.cc: New tool to lookup a symbol in an elf file.
	* tools/Makefile.am: Add the bisym.cc source file to the
	distribution and arrange to compile it into a 'bisym' executable.
	* tests/test-lookup-syms.cc: New test harness.
	* tests/data/test-lookup-syms/test0-report.txt: New test input
	for the harness above.
	* tests/data/test-lookup-syms/test0.cc: Likewise.
	* tests/data/test-lookup-syms/test0.o: Likewise
	* tests/data/test-lookup-syms/test01-report.txt: Likewise.
	* tests/data/test-lookup-syms/test02-report.txt: Likewise.
	* tests/Makefile.am: Build the new runtestlookupsyms test and add
	the new files to the distribution.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-21 17:56:40 +02:00
..
abg-tools-utils.cc Add debugging facilities for core diffing issues 2014-02-10 15:51:09 +01:00
abg-tools-utils.h Support new 'abi-corpus' native XML format (.abi) 2014-01-07 14:12:26 +01:00
biar.cc Prepare serialization API for multiple backends 2013-12-04 20:26:38 +01:00
bidiff.cc File static data member changes in STATIC_DATA_MEMBER_CHANGE_CATEGORY 2014-04-17 11:50:45 +02:00
bidw.cc Support new 'abi-corpus' native XML format (.abi) 2014-01-07 14:12:26 +01:00
bilint.cc Initialize a variable 2014-03-11 13:59:01 +01:00
bisym.cc Support symbol lookups from ELF 2014-04-21 17:56:40 +02:00
Makefile.am Support symbol lookups from ELF 2014-04-21 17:56:40 +02:00