mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-09 16:17:48 +00:00
The Git repository of the Libabigail Project
When a pointer_type_def or reference_type_def is initialized with an empty pointed-to type, we want consider that as a pointer/reference to void. This patch does that. That helps to avoids to later crash because the pointed-to-type is empty. Also, this patch fixes spots where the pointed-to-type seems nonetheless empty. I have used the two different versions of libstdc++ from RHEL 6.5 and RHEL 7 to spot and fix these issues. * include/abg-fwd.h (type_or_void): Declare new function. * src/abg-ir.cc (type_or_void): Define it. (pointer_type_def::pointer_type_def) (reference_type_def::reference_type_def) (reference_type_def::get_qualified_name, strip_typedef): Use it to ensure that empty pointed-to-type is considered as a void type. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
config.h.in | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
README | ||
test21-type-suppr-0.suppr | ||
test21-type-suppr-report-0.txt |
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 comparing two ABI Corpuses, 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.