- print " (('sh_name', %s)" % hex(self.sh_name), "# %r" % shstrtab[self.sh_name]
- print " ('sh_type', %s)" % hex(self.sh_type)
- print " ('sh_flags', %s)" % hex(self.sh_flags)
- print " ('sh_addr', %s)" % hex(self.sh_addr)
- print " ('sh_offset', %s)" % hex(self.sh_offset)
- print " ('sh_size', %s)" % hex(self.sh_size)
- print " ('sh_link', %s)" % hex(self.sh_link)
- print " ('sh_info', %s)" % hex(self.sh_info)
- print " ('sh_addralign', %s)" % hex(self.sh_addralign)
- print " ('sh_entsize', %s)" % hex(self.sh_entsize)
+ print " (('sh_name', %s)" % common_dump.HexDump(self.sh_name), "# %r" % shstrtab[self.sh_name]
+ print " ('sh_type', %s)" % common_dump.HexDump(self.sh_type)
+ print " ('sh_flags', %s)" % common_dump.HexDump(self.sh_flags)
+ print " ('sh_addr', %s)" % common_dump.HexDump(self.sh_addr)
+ print " ('sh_offset', %s)" % common_dump.HexDump(self.sh_offset)
+ print " ('sh_size', %s)" % common_dump.HexDump(self.sh_size)
+ print " ('sh_link', %s)" % common_dump.HexDump(self.sh_link)
+ print " ('sh_info', %s)" % common_dump.HexDump(self.sh_info)
+ print " ('sh_addralign', %s)" % common_dump.HexDump(self.sh_addralign)
+ print " ('sh_entsize', %s)" % common_dump.HexDump(self.sh_entsize)