Lines Matching full:print
79 print "('cputype', %r)" % f.read32()
80 print "('cpusubtype', %r)" % f.read32()
82 print "('filetype', %r)" % filetype
85 print "('num_load_commands', %r)" % numLoadCommands
88 print "('load_commands_size', %r)" % loadCommandsSize
90 print "('flag', %r)" % f.read32()
93 print "('reserved', %r)" % f.read32()
97 print "('load_commands', ["
100 print "])"
109 print " # Load Command %r" % i
111 print " (('command', %r)" % cmd
113 print " ('size', %r)" % cmdSize
125 print " ('uuid', %s)" % uuid.UUID(bytes=f.read(16))
127 print >>sys.stderr,"%s: warning: unknown load command: %r" % (
130 print " ),"
137 print " ('segment_name', %r)" % f.read(16)
139 print " ('vm_addr', %r)" % f.read64()
140 print " ('vm_size', %r)" % f.read64()
141 print " ('file_offset', %r)" % f.read64()
142 print " ('file_size', %r)" % f.read64()
144 print " ('vm_addr', %r)" % f.read32()
145 print " ('vm_size', %r)" % f.read32()
146 print " ('file_offset', %r)" % f.read32()
147 print " ('file_size', %r)" % f.read32()
148 print " ('maxprot', %r)" % f.read32()
149 print " ('initprot', %r)" % f.read32()
151 print " ('num_sections', %r)" % numSections
152 print " ('flags', %r)" % f.read32()
154 print " ('sections', ["
157 print " ])"
161 print " ('symoff', %r)" % symoff
163 print " ('nsyms', %r)" % nsyms
165 print " ('stroff', %r)" % stroff
167 print " ('strsize', %r)" % strsize
173 print " ('_string_data', %r)" % string_data
178 print " ('_symbols', ["
181 print " ])"
186 print " # Symbol %r" % i
188 print " (('n_strx', %r)" % n_strx
190 print " ('n_type', %#x)" % n_type
192 print " ('n_sect', %r)" % n_sect
194 print " ('n_desc', %r)" % n_desc
197 print " ('n_value', %r)" % n_value
200 print " ('n_value', %r)" % n_value
201 print " ('_string', %r)" % f.getString(n_strx)
202 print " ),"
205 print " ('ilocalsym', %r)" % f.read32()
206 print " ('nlocalsym', %r)" % f.read32()
207 print " ('iextdefsym', %r)" % f.read32()
208 print " ('nextdefsym', %r)" % f.read32()
209 print " ('iundefsym', %r)" % f.read32()
210 print " ('nundefsym', %r)" % f.read32()
211 print " ('tocoff', %r)" % f.read32()
212 print " ('ntoc', %r)" % f.read32()
213 print " ('modtaboff', %r)" % f.read32()
214 print " ('nmodtab', %r)" % f.read32()
215 print " ('extrefsymoff', %r)" % f.read32()
216 print " ('nextrefsyms', %r)" % f.read32()
218 print " ('indirectsymoff', %r)" % indirectsymoff
220 print " ('nindirectsyms', %r)" % nindirectsyms
221 print " ('extreloff', %r)" % f.read32()
222 print " ('nextrel', %r)" % f.read32()
223 print " ('locreloff', %r)" % f.read32()
224 print " ('nlocrel', %r)" % f.read32()
229 print " ('_indirect_symbols', ["
231 print " # Indirect Symbol %r" % i
232 print " (('symbol_index', %#x),)," % f.read32()
233 print " ])"
238 print " # Section %r" % i
239 print " (('section_name', %r)" % f.read(16)
240 print " ('segment_name', %r)" % f.read(16)
242 print " ('address', %r)" % f.read64()
244 print " ('size', %r)" % size
246 print " ('address', %r)" % f.read32()
248 print " ('size', %r)" % size
250 print " ('offset', %r)" % offset
251 print " ('alignment', %r)" % f.read32()
253 print " ('reloc_offset', %r)" % reloc_offset
255 print " ('num_reloc', %r)" % num_reloc
256 print " ('flags', %#x)" % f.read32()
257 print " ('reserved1', %r)" % f.read32()
258 print " ('reserved2', %r)" % f.read32()
260 print " ('reserved3', %r)" % f.read32()
261 print " ),"
266 print " ('_relocations', ["
268 print " # Relocation %r" % i
269 print " (('word-0', %#x)," % f.read32()
270 print " ('word-1', %#x))," % f.read32()
271 print " ])"
275 print " ('_section_data', '%s')" % common_dump.dataToHex(f.read(size))