[Reproducible-builds] Bug#808267: diffoscope: Redundant information in ELF comparisons

Mike Hommey mh at glandium.org
Fri Dec 18 01:37:44 UTC 2015


On Fri, Dec 18, 2015 at 10:10:54AM +0900, Mike Hommey wrote:
> Source: diffoscope
> Version: 43
> Severity: normal
> 
> When comparing ELF files, the following commands are used:
> - readelf --all
> - readelf --debug-dump
> - objdump --disassemble --full-contents
> 
> objdump --disassemble --full-contents is actually redundant in itself. For
> example, it will dump both an hexdump and a disassembly of the .text section.
> It's also redundant with the output of readelf --debug-dump because it does an
> hexdump of the .debug_* sections that readelf --debug-dump does a dwarf dump
> of.

objdump --disassemble --full-contents also outputs a dump of e.g.
.note.gnu.build-id, which is printed out in nicer form in readelf --all.

Mike



More information about the Reproducible-builds mailing list