mirror of
git://sourceware.org/git/libabigail.git
synced 2026-03-19 21:44:24 +00:00
No description
When a split debug info file has no program headers, elf_helpers::get_binary_load_address returns false as it cannot get the information without program headers. Sadly, dwarf::reader::maybe_adjust_address_for_exec_or_dyn asserts that the call to get_binary_load_address on a debug info file must always succeed. This assert is arguably too eager. This patch removes that assert and transforms it into a gently handled condition. * src/abg-dwarf-reader.cc (reader::maybe_adjust_address_for_exec_or_dyn): Do not assert that get_binary_load_address should always return true. * tests/data/test-read-dwarf/PR33876/libctf.so.2: New binary input. * tests/data/test-read-dwarf/PR33876/libctf.so.2.abi: New output reference. * tests/data/test-read-dwarf/PR33876/libctf.so.2.debug: New binary input. * tests/data/Makefile.am: Add the new test inputs above to source distribution. * tests/test-read-dwarf.cc (in_out_specs): Add the test inputs to this harness. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
|---|---|---|
| .github | ||
| autoconf-archive | ||
| bash-completion | ||
| big-tests@54686ed675 | ||
| doc | ||
| docker | ||
| include | ||
| m4 | ||
| relicensing-scripts | ||
| scripts | ||
| src | ||
| tests | ||
| tools | ||
| .clang-format | ||
| .gitignore | ||
| .gitmodules | ||
| .mailmap | ||
| abigail.m4 | ||
| ABIXML-FORMAT-VERSIONS | ||
| AUTHORS | ||
| ChangeLog | ||
| COMMIT-LOG-GUIDELINES | ||
| COMPILING | ||
| configure.ac | ||
| CONTRIBUTING | ||
| default.abignore | ||
| gen-changelog.py | ||
| install-sh | ||
| libabigail.pc.in | ||
| license-change-2020.txt | ||
| LICENSE.txt | ||
| ltmain.sh | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| README-DOCKER.md | ||
| release-text-template.txt | ||
| SECURITY | ||
| update-copyright.sh | ||
| VISIBILITY | ||
This is the Application Binary Interface Generic Analysis and Instrumentation Library. It aims at constructing, manipulating, serializing and de-serializing ABI-relevant artifacts. The set of artifacts that we are intersted is made of quantities like types, variable, functions and declarations of a given library or program. For a given library or program this set of quantities is called an ABI corpus. This library aims at (among other things) providing a way to compare two ABI Corpora (apparently the plural of corpus is copora, heh, that's cool), provide detailed information about their differences, and help build tools to infer interesting conclusions about these differences. You are welcome to contribute to this project after reading the files CONTRIBUTING and COMMIT-LOG-GUIDELINES files in the source tree. Communicating with the maintainers of this project -- including sending patches to be include to the source code -- happens via email at libabigail@sourceware.org.