[Dwarf-Discuss] dwarfdump and compression. On sourceforge.
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.
?.debug_info SHF_COMPRESSED CompLen=2052664 Uncomp=3647546 compression=1.8
.zdebug_aranges .zdebug ZLIB-initial-bytes CompLen=38 Uncomp=48
Thanks to Paul R. for the idea.
More information about the Dwarf-discuss