1--- !mach-o
2FileHeader:
3  magic:           0xFEEDFACF
4  cputype:         0x01000007
5  cpusubtype:      0x80000003
6  filetype:        0x00000002
7  ncmds:           15
8  sizeofcmds:      976
9  flags:           0x00200085
10  reserved:        0x00000000
11LoadCommands:
12  - cmd:             LC_SEGMENT_64
13    cmdsize:         72
14    segname:         __PAGEZERO
15    vmaddr:          0
16    vmsize:          4294967296
17    fileoff:         0
18    filesize:        0
19    maxprot:         0
20    initprot:        0
21    nsects:          0
22    flags:           0
23  - cmd:             LC_SEGMENT_64
24    cmdsize:         232
25    segname:         __TEXT
26    vmaddr:          4294967296
27    vmsize:          4096
28    fileoff:         0
29    filesize:        4096
30    maxprot:         7
31    initprot:        5
32    nsects:          2
33    flags:           0
34    Sections:
35      - sectname:        __text
36        segname:         __TEXT
37        addr:            0x0000000100000F90
38        size:            36
39        offset:          0x00000F90
40        align:           4
41        reloff:          0x00000000
42        nreloc:          0
43        flags:           0x80000400
44        reserved1:       0x00000000
45        reserved2:       0x00000000
46        reserved3:       0x00000000
47      - sectname:        __unwind_info
48        segname:         __TEXT
49        addr:            0x0000000100000FB4
50        size:            72
51        offset:          0x00000FB4
52        align:           2
53        reloff:          0x00000000
54        nreloc:          0
55        flags:           0x00000000
56        reserved1:       0x00000000
57        reserved2:       0x00000000
58        reserved3:       0x00000000
59  - cmd:             LC_SEGMENT_64
60    cmdsize:         232
61    segname:         __DATA
62    vmaddr:          4294971392
63    vmsize:          4096
64    fileoff:         4096
65    filesize:        4096
66    maxprot:         7
67    initprot:        3
68    nsects:          2
69    flags:           0
70    Sections:
71      - sectname:        __data
72        segname:         __DATA
73        addr:            0x0000000100001000
74        size:            4
75        offset:          0x00001000
76        align:           2
77        reloff:          0x00000000
78        nreloc:          0
79        flags:           0x00000000
80        reserved1:       0x00000000
81        reserved2:       0x00000000
82        reserved3:       0x00000000
83      - sectname:        __common
84        segname:         __DATA
85        addr:            0x0000000100001004
86        size:            4
87        offset:          0x00000000
88        align:           2
89        reloff:          0x00000000
90        nreloc:          0
91        flags:           0x00000001
92        reserved1:       0x00000000
93        reserved2:       0x00000000
94        reserved3:       0x00000000
95  - cmd:             LC_SEGMENT_64
96    cmdsize:         72
97    segname:         __LINKEDIT
98    vmaddr:          4294975488
99    vmsize:          4096
100    fileoff:         8192
101    filesize:        496
102    maxprot:         7
103    initprot:        1
104    nsects:          0
105    flags:           0
106  - cmd:             LC_DYLD_INFO_ONLY
107    cmdsize:         48
108    rebase_off:      0
109    rebase_size:     0
110    bind_off:        0
111    bind_size:       0
112    weak_bind_off:   0
113    weak_bind_size:  0
114    lazy_bind_off:   0
115    lazy_bind_size:  0
116    export_off:      8192
117    export_size:     56
118  - cmd:             LC_SYMTAB
119    cmdsize:         24
120    symoff:          8256
121    nsyms:           15
122    stroff:          8496
123    strsize:         192
124  - cmd:             LC_DYSYMTAB
125    cmdsize:         80
126    ilocalsym:       0
127    nlocalsym:       11
128    iextdefsym:      11
129    nextdefsym:      3
130    iundefsym:       14
131    nundefsym:       1
132    tocoff:          0
133    ntoc:            0
134    modtaboff:       0
135    nmodtab:         0
136    extrefsymoff:    0
137    nextrefsyms:     0
138    indirectsymoff:  0
139    nindirectsyms:   0
140    extreloff:       0
141    nextrel:         0
142    locreloff:       0
143    nlocrel:         0
144  - cmd:             LC_LOAD_DYLINKER
145    cmdsize:         32
146    name:            12
147    PayloadString:   '/usr/lib/dyld'
148    ZeroPadBytes:    7
149  - cmd:             LC_UUID
150    cmdsize:         24
151    uuid:            56D84164-1DA8-393B-8589-BC4C6B56168E
152  - cmd:             LC_BUILD_VERSION
153    cmdsize:         32
154    platform:        1
155    minos:           658944
156    sdk:             658944
157    ntools:          1
158    Tools:
159      - tool:            3
160        version:         29491968
161  - cmd:             LC_SOURCE_VERSION
162    cmdsize:         16
163    version:         0
164  - cmd:             LC_MAIN
165    cmdsize:         24
166    entryoff:        3984
167    stacksize:       0
168  - cmd:             LC_LOAD_DYLIB
169    cmdsize:         56
170    dylib:
171      name:            24
172      timestamp:       2
173      current_version: 82115073
174      compatibility_version: 65536
175    PayloadString:   '/usr/lib/libSystem.B.dylib'
176    ZeroPadBytes:    6
177  - cmd:             LC_FUNCTION_STARTS
178    cmdsize:         16
179    dataoff:         8248
180    datasize:        8
181  - cmd:             LC_DATA_IN_CODE
182    cmdsize:         16
183    dataoff:         8256
184    datasize:        0
185LinkEditData:
186  ExportTrie:
187    TerminalSize:    0
188    NodeOffset:      0
189    Name:            ''
190    Flags:           0x0000000000000000
191    Address:         0x0000000000000000
192    Other:           0x0000000000000000
193    ImportName:      ''
194    Children:
195      - TerminalSize:    0
196        NodeOffset:      5
197        Name:            _
198        Flags:           0x0000000000000000
199        Address:         0x0000000000000000
200        Other:           0x0000000000000000
201        ImportName:      ''
202        Children:
203          - TerminalSize:    2
204            NodeOffset:      38
205            Name:            _mh_execute_header
206            Flags:           0x0000000000000000
207            Address:         0x0000000000000000
208            Other:           0x0000000000000000
209            ImportName:      ''
210          - TerminalSize:    3
211            NodeOffset:      42
212            Name:            main
213            Flags:           0x0000000000000000
214            Address:         0x0000000000000F90
215            Other:           0x0000000000000000
216            ImportName:      ''
217          - TerminalSize:    3
218            NodeOffset:      47
219            Name:            foo
220            Flags:           0x0000000000000000
221            Address:         0x0000000000001004
222            Other:           0x0000000000000000
223            ImportName:      ''
224  NameList:
225    - n_strx:          50
226      n_type:          0x64
227      n_sect:          0
228      n_desc:          0
229      n_value:         0
230    - n_strx:          92
231      n_type:          0x64
232      n_sect:          0
233      n_desc:          0
234      n_value:         0
235    - n_strx:          100
236      n_type:          0x66
237      n_sect:          3
238      n_desc:          1
239      n_value:         1564714240
240    - n_strx:          1
241      n_type:          0x2E
242      n_sect:          1
243      n_desc:          0
244      n_value:         4294971280
245    - n_strx:          164
246      n_type:          0x24
247      n_sect:          1
248      n_desc:          0
249      n_value:         4294971280
250    - n_strx:          1
251      n_type:          0x24
252      n_sect:          0
253      n_desc:          0
254      n_value:         36
255    - n_strx:          1
256      n_type:          0x4E
257      n_sect:          1
258      n_desc:          0
259      n_value:         36
260    - n_strx:          170
261      n_type:          0x26
262      n_sect:          3
263      n_desc:          0
264      n_value:         4294971392
265    ## A local undefined SymDebugTable entry followed by
266    - n_strx:          175
267      n_type:          0x20
268      n_sect:          0
269      n_desc:          0
270      n_value:         0
271    ## a defined SymDebugTable entry.
272    - n_strx:          1
273      n_type:          0x64
274      n_sect:          1
275      n_desc:          0
276      n_value:         0
277    - n_strx:          180
278      n_type:          0x0E
279      n_sect:          3
280      n_desc:          0
281      n_value:         4294971392
282    - n_strx:          2
283      n_type:          0x0F
284      n_sect:          1
285      n_desc:          16
286      n_value:         4294967296
287    - n_strx:          22
288      n_type:          0x0F
289      n_sect:          4
290      n_desc:          0
291      n_value:         4294971396
292    - n_strx:          27
293      n_type:          0x0F
294      n_sect:          1
295      n_desc:          0
296      n_value:         4294971280
297    - n_strx:          33
298      n_type:          0x01
299      n_sect:          0
300      n_desc:          256
301      n_value:         0
302  StringTable:
303    - ' '
304    - __mh_execute_header
305    - _foo
306    - _main
307    - dyld_stub_binder
308    - '/Users/anonymous/llvm-project/llvm/build/'
309    - strip.c
310    - '/var/folders/g7/l0p5czpd2jz6w0gswg6cwgjc0000gn/T/strip-95c4bf.o'
311    - _main
312    - _bar
313    - _foo
314    - _bar
315    - ''
316    - ''
317    - ''
318    - ''
319    - ''
320    - ''
321    - ''
322...
323