Lines Matching refs:HexDump
68 … print " (('sh_name', %s)" % common_dump.HexDump(self.sh_name), "# %r" % shstrtab[self.sh_name[0]]
69 print " ('sh_type', %s)" % common_dump.HexDump(self.sh_type)
70 print " ('sh_flags', %s)" % common_dump.HexDump(self.sh_flags)
71 print " ('sh_addr', %s)" % common_dump.HexDump(self.sh_addr)
72 print " ('sh_offset', %s)" % common_dump.HexDump(self.sh_offset)
73 print " ('sh_size', %s)" % common_dump.HexDump(self.sh_size)
74 print " ('sh_link', %s)" % common_dump.HexDump(self.sh_link)
75 print " ('sh_info', %s)" % common_dump.HexDump(self.sh_info)
76 print " ('sh_addralign', %s)" % common_dump.HexDump(self.sh_addralign)
77 print " ('sh_entsize', %s)" % common_dump.HexDump(self.sh_entsize)
102 print " (('st_name', %s)" % common_dump.HexDump(name), "# %r" % strtab[name[0]]
104 print " ('st_value', %s)" % common_dump.HexDump(f.read32())
105 print " ('st_size', %s)" % common_dump.HexDump(f.read32())
109 print " ('st_bind', %s)" % common_dump.HexDump(st_bind)
110 print " ('st_type', %s)" % common_dump.HexDump(st_type)
111 print " ('st_other', %s)" % common_dump.HexDump(f.read8())
112 print " ('st_shndx', %s)" % common_dump.HexDump(f.read16())
114 print " ('st_value', %s)" % common_dump.HexDump(f.read64())
115 print " ('st_size', %s)" % common_dump.HexDump(f.read64())
124 print " (('r_offset', %s)" % common_dump.HexDump(f.readWord())
132 print " ('r_sym', %s)" % common_dump.HexDump(r_sym)
133 print " ('r_type', %s)" % common_dump.HexDump(r_type)
135 print " ('r_addend', %s)" % common_dump.HexDump(f.readWord())
150 raise ValueError, "Unknown file class %s" % common_dump.HexDump(fileclass)
151 print "('e_indent[EI_CLASS]', %s)" % common_dump.HexDump(fileclass)
159 raise ValueError, "Unknown byte ordering %s" % common_dump.HexDump(byteordering)
160 print "('e_indent[EI_DATA]', %s)" % common_dump.HexDump(byteordering)
162 print "('e_indent[EI_VERSION]', %s)" % common_dump.HexDump(f.read8())
163 print "('e_indent[EI_OSABI]', %s)" % common_dump.HexDump(f.read8())
164 print "('e_indent[EI_ABIVERSION]', %s)" % common_dump.HexDump(f.read8())
168 print "('e_type', %s)" % common_dump.HexDump(f.read16())
169 print "('e_machine', %s)" % common_dump.HexDump(f.read16())
170 print "('e_version', %s)" % common_dump.HexDump(f.read32())
171 print "('e_entry', %s)" % common_dump.HexDump(f.readWord())
172 print "('e_phoff', %s)" % common_dump.HexDump(f.readWord())
174 print "('e_shoff', %s)" % common_dump.HexDump(e_shoff)
175 print "('e_flags', %s)" % common_dump.HexDump(f.read32())
176 print "('e_ehsize', %s)" % common_dump.HexDump(f.read16())
177 print "('e_phentsize', %s)" % common_dump.HexDump(f.read16())
178 print "('e_phnum', %s)" % common_dump.HexDump(f.read16())
180 print "('e_shentsize', %s)" % common_dump.HexDump(e_shentsize)
182 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
184 print "('e_shstrndx', %s)" % common_dump.HexDump(e_shstrndx)