mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-21 00:40:45 +00:00
The Git repository of the Libabigail Project
d403118cd0
The value of the of the pointer to program header returned by gelf_getphdr is always the same, assuming the value of the last parameter to gelf_getphdr stays the same. What changes is what is pointed to by that pointer. So rather than storing the the program header (to determine the lowest load address among several program headers returned by gelf_getphdr) we need to store the load address pointed to by the pointer to the program header. Thanks to Matthias Männich for spotting this and discussing it at https://sourceware.org/ml/libabigail/2019-q2/msg00064.html. Testing this is a bit annoying as we'd need to consider a prelinked binary which has split debuginfo. I should probably add such a binary to the regression test suite at some point. * src/abg-dwarf-reader.cc (get_binary_load_address): Consider the load address pointed to by the program header pointer returned by gelf_getphdr rather than the program header itself. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
autoconf-archive | ||
bash-completion | ||
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-GPLV3 | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
default.abignore | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
NEWS | ||
README | ||
release-text-template.txt | ||
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, fonctions 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.