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.
_______________________________________________
Dwarf-Discuss mailing list
Dwarf-Discuss@lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

Reply via email to