[Dwarf-Discuss] dwarfdump and compression. On sourceforge.

David Anderson davea42@linuxmail.org
Tue Aug 7 18:38:14 GMT 2018


A new dwarfdump/libdwarf version on sourceforge
is available for anonymous git clone.
It prints the type of compression and the compression factor for
each compressed section that's being reported.

The compression factors of the test cases I happen to have
range from 0.8 (inflation) to nearly 10.
The inflation happens on some sections under 100 bytes or so.
The cases near 10 apply to string sections.

An example:
?.debug_info SHF_COMPRESSED CompLen=2052664 Uncomp=3647546 compression=1.8

Another:
.zdebug_aranges .zdebug ZLIB-initial-bytes CompLen=38 Uncomp=48
compression=1.3

Thanks to Paul R. for the idea.
DavidA.



More information about the Dwarf-discuss mailing list