[Bug default/26591] detect pathologically redundant types in abixml

dodji at redhat dot com sourceware-bugzilla@sourceware.org
Thu Sep 10 13:56:21 GMT 2020


--- Comment #1 from dodji at redhat dot com ---
Giuliano Procida wrote a one-liner script that finds duplicated IDs in all the
abixml files of the source distribution of libabigail.

It's a good start to audit the system and see why types are duplicated there.

Here is it:

find tests -name '*abi' | while read x; do sed -En "s;.* id='([^']*)'.*;\1;p"
$x | sort | uniq -c | grep -vw 1 | sort -nr | sed "s;^;$x: ;"; done

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Libabigail mailing list