libabigail/tools
Dodji Seketeli 6d4472066b Make abidw --abidiff not show definitely harmless changes
When comparing the ABI of the input ELF binary with that same ABI
saved to abixml and read back again, there can be some minor and
harmless changes that are seen, because libabigail makes some
approximations for performance reasons.  For instance, if there are
two types that are equivalent, but have different names (because of
typedefs) then libabigail will consider that they are the same type,
and might save them (to abixml) and read them back (from abixml) in
different order.

That can lead to subtle changes that are reported (and filtered out)
by the command "abidw --abixml".

This patch arranges for abidw --abixml to avoid emitting a report
saying that a filtered out change was detected, as those cases are
considered OK.

The patch also fixes a little issue where abidw would abort because
the user forgot to provide the binary to analyze, on the command line.

	* tools/abidw.cc (set_diff_context): New function.
	(main): Use that new function.  Do not show any output for
	--abidiff if only compatible changes were detected.  Also, do not
	abort if no input binary was giving.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2015-10-15 13:50:49 +02:00
..
.gitignore
abiar.cc
abicompat.cc Introduce the concept of environment 2015-09-07 23:35:29 +02:00
abidiff.cc Adjust {s,g}et_show_stats() to use a reference 2015-09-07 23:42:17 +02:00
abidw.cc Make abidw --abidiff not show definitely harmless changes 2015-10-15 13:50:49 +02:00
abilint.cc Remove some dead code in abilint 2015-09-21 15:20:10 +02:00
abipkgdiff.cc Bug 19082 - Recognize suppression spec files 2015-10-13 09:19:47 +02:00
abisym.cc
binilint.cc
Makefile.am