Guest User

Untitled

a guest
Jan 9th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. Mach-O Object File
  2. Header
  3. ------
  4. magic: 0xfeedface MH_MAGIC
  5. cputype: 7 CPU_TYPE_I386
  6. cpusubtype: 3 CPU_SUBTYPE_I386_ALL
  7. filetype: 1 MH_OBJECT
  8. ncmds: 3
  9. sizeofcmds: 296
  10. flags: 0x00002000
  11. MH_SUBSECTIONS_VIA_SYMBOLS
  12.  
  13. Load Command Data Structures
  14. ----------------------------
  15. cmd = 0x01, cmdsize = 192
  16. LC_SEGMENT
  17. cmd = 0x01
  18. cmdsize = 0xc0
  19. segname = ''
  20. vmaddr = 0x00
  21. vmsize = 0x42
  22. fileoff = 0x144
  23. filesize = 0x42
  24. maxprot = 0x07
  25. initprot = 0x07
  26. nsects = 0x02
  27. flags = 0x00
  28. cmd = 0x02, cmdsize = 24
  29. LC_SYMTAB
  30. cmd = 0x02
  31. cmdsize = 0x18
  32. symoff = 0x19c
  33. nsyms = 2
  34. stroff = 0x1b4
  35. strsize = 0x0c
  36. cmd = 0x0b, cmdsize = 80
  37. LC_DYSYMTAB
  38. cmd = 0x0b
  39. cmdsize = 0x50
  40. ilocalsym = 0
  41. nlocalsym = 0
  42. iextdefsym = 0
  43. nextdefsym = 1
  44. iundefsym = 1
  45. nundefsym = 1
  46. tocoff = 0x00
  47. ntoc = 0
  48. modtaboff = 0x00
  49. nmodtab = 0
  50. extrefsymoff = 0x00
  51. nextrefsyms = 0
  52. indirectsymoff = 0x198
  53. nindirectsyms = 1
  54. extreloff = 0x00
  55. nextrel = 0
  56. locreloff = 0x00
  57. nlocrel = 0
  58.  
  59. String Table
  60. ------------
  61. 0000: 0 5f 6d 61 69 6e 0 5f 66 6f 6f 0 ._main._foo.
  62.  
  63. Symbol Table
  64. ------------
  65. [ i] type sect desc value name
  66. [ 0] x0f 1 x00 x00000000 _main N_EXT N_SECT
  67. [ 1] x01 0 x200 x00000004 _foo N_EXT N_UNDF
  68.  
  69. Indirect Symbol Table
  70. [0] x00000001 _foo
  71.  
  72.  
  73. Segment Table
  74. ------------
  75. vmaddr vmsize fileoff filesize maxprot initprot nsects flags segname
  76. 0x0000 0x42 0x144 0x42 0x07 0x07 0x02 0x00 ''
  77. 0000: 55 89 e5 56 83 ec 10 e8 0 0 0 0 58 8b 4d c U..V........X.M.
  78. 0010: 8b 55 8 be 0 0 0 0 8b 80 32 0 0 0 c7 45 .U........2....E
  79. 0020: f8 0 0 0 0 89 55 f4 89 4d f0 c7 0 3 0 0 ......U..M......
  80. 0030: 0 8b 0 89 45 ec 89 f0 83 c4 10 5e 5d c3 0 0 ....E......^]...
  81. 0040: 0 0 ..
  82.  
  83. [i] addr size offset align reloff nreloc flags res1 res2 sectname segname
  84. [1] 00000 003e 000144 4 0188 2 80000400 00 00 __text __TEXT
  85. S_REGULAR S_ATTR_PURE_INSTRUCTIONS S_ATTR_SOME_INSTRUCTIONS
  86. [2] 0003e 0004 000182 0 0000 0 00000006 00 00 __pointers __IMPORT
  87. S_NON_LAZY_SYMBOL_POINTERS
  88.  
  89.  
  90. Segment Contents
  91. ------------
  92. [1] 00000 003e 000144 4 0188 2 80000400 00 00 __text __TEXT
  93. 0000: 55 89 e5 56 83 ec 10 e8 0 0 0 0 58 8b 4d c U..V........X.M.
  94. 0010: 8b 55 8 be 0 0 0 0 8b 80 32 0 0 0 c7 45 .U........2....E
  95. 0020: f8 0 0 0 0 89 55 f4 89 4d f0 c7 0 3 0 0 ......U..M......
  96. 0030: 0 8b 0 89 45 ec 89 f0 83 c4 10 5e 5d c3 ....E......^].
  97. [0] address x001a pcrel 0 length 2 value x3e type 4 RELOC_LOCAL_SECTDIFF
  98. [1] address x0000 pcrel 0 length 2 value xc type 1 RELOC_PAIR
  99. [2] 0003e 0004 000182 0 0000 0 00000006 00 00 __pointers __IMPORT
  100. 0000: 0 0 0 0 ....
Advertisement
Add Comment
Please, Sign In to add comment