The Git repository of the Libabigail Project
Go to file
Dodji Seketeli 05fcd13df5 abipkgdiff: Avoid wrongly considering binaries being added/removed
When the layout of binaries in a package changes across versions of
the package, abipkgdiff can wrongly consider one particular binary to
be removed from the old package and then added again in the new one,
even though the SONAME (when present) has not changed.

This patch makes it so that only the SONAME (when present) is used as
a key for the binary.  That fixes the issue.

	* tools/abipkgdiff.cc (create_maps_of_package_set_content): Use
	the SONAME when present as the key of the binary.
	* tests/data/test-diff-pkg/dbus-glib-0.104-3.fc23.x86_64--dbus-glib-0.104-3.fc23.armv7hl-report-0.txt: Adjust.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2025-03-14 00:29:48 +01:00
.github
autoconf-archive
bash-completion
big-tests@e229682319 big-tests: Sync with libabigail hashe 229682 2025-02-18 10:27:48 +01:00
doc Bug PR32476 - abipkgdiff: Support comparing sets of packages 2025-02-07 15:24:00 +01:00
docker
include Add support for reading XZ-compressed files 2025-02-03 12:36:59 +01:00
m4
relicensing-scripts
scripts
src {ctf,dwarf}-reader.cc: Fix a virtual method name conflict in elf_base_reader 2025-02-12 17:15:44 +01:00
tests abipkgdiff: Avoid wrongly considering binaries being added/removed 2025-03-14 00:29:48 +01:00
tools abipkgdiff: Avoid wrongly considering binaries being added/removed 2025-03-14 00:29:48 +01:00
.clang-format
.gitignore
.gitmodules configure: Support the optional 'big-tests' sub-directory 2024-07-16 12:59:03 +02:00
.mailmap
abigail.m4
ABIXML-FORMAT-VERSIONS
AUTHORS
ChangeLog ChangeLog: Update ChangeLog in preparation for 2.6 release 2024-11-01 17:37:33 +01:00
COMMIT-LOG-GUIDELINES
COMPILING
configure.ac configure.ac: Add a new --enable-inlined-xxhash option 2025-02-14 09:32:35 +01:00
CONTRIBUTING configure: Support the optional 'big-tests' sub-directory 2024-07-16 12:59:03 +02:00
default.abignore
gen-changelog.py
install-sh
libabigail.pc.in
license-change-2020.txt
LICENSE.txt
ltmain.sh
Makefile.am SECURITY: New security policy text 2024-11-13 15:35:16 +01:00
NEWS NEWS: Update for 2.6 release 2024-11-01 17:42:28 +01:00
README
README-DOCKER.md
release-text-template.txt
SECURITY SECURITY: New security policy text 2024-11-13 15:35:16 +01:00
update-copyright.sh Update copyright years for 2025 2025-01-13 12:37:12 +01:00
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.