> +FormatOutput=hex
This is dead, no?
> e_shnum = f.read16()
> - print "('e_shnum', %d)" % e_shnum
> + print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
If printing with fixed sizes, we should probably print with the actual sizes...
Cheers,
Rafael