• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--- !mach-o
2FileHeader:
3  magic:           0xFEEDFACF
4  cputype:         0x01000007
5  cpusubtype:      0x00000003
6  filetype:        0x00000001
7  ncmds:           4
8  sizeofcmds:      1240
9  flags:           0x00002000
10  reserved:        0x00000000
11LoadCommands:
12  - cmd:             LC_SEGMENT_64
13    cmdsize:         1112
14    segname:         ''
15    vmaddr:          0
16    vmsize:          798
17    fileoff:         1272
18    filesize:        798
19    maxprot:         7
20    initprot:        7
21    nsects:          13
22    flags:           0
23    Sections:
24      - sectname:        __text
25        segname:         __TEXT
26        addr:            0x0000000000000000
27        size:            36
28        offset:          0x000004F8
29        align:           4
30        reloff:          0x00000818
31        nreloc:          2
32        flags:           0x80000400
33        reserved1:       0x00000000
34        reserved2:       0x00000000
35        reserved3:       0x00000000
36        relocations:
37          - address:         0x0
38            symbolnum:       0
39            pcrel:           false
40            length:          0
41            extern:          true
42            type:            0
43            scattered:       false
44            value:           0
45          - address:         0x0
46            symbolnum:       1
47            pcrel:           false
48            length:          0
49            extern:          true
50            type:            0
51            scattered:       false
52            value:           0
53      - sectname:        __data
54        segname:         __DATA
55        addr:            0x0000000000000024
56        size:            4
57        offset:          0x0000051C
58        align:           2
59        reloff:          0x00000000
60        nreloc:          0
61        flags:           0x00000000
62        reserved1:       0x00000000
63        reserved2:       0x00000000
64        reserved3:       0x00000000
65      - sectname:        __debug_str
66        segname:         __DWARF
67        addr:            0x0000000000000028
68        size:            117
69        offset:          0x00000520
70        align:           0
71        reloff:          0x00000000
72        nreloc:          0
73        flags:           0x02000000
74        reserved1:       0x00000000
75        reserved2:       0x00000000
76        reserved3:       0x00000000
77      - sectname:        __debug_abbrev
78        segname:         __DWARF
79        addr:            0x000000000000009D
80        size:            84
81        offset:          0x00000595
82        align:           0
83        reloff:          0x00000000
84        nreloc:          0
85        flags:           0x02000000
86        reserved1:       0x00000000
87        reserved2:       0x00000000
88        reserved3:       0x00000000
89      - sectname:        __debug_info
90        segname:         __DWARF
91        addr:            0x00000000000000F1
92        size:            117
93        offset:          0x000005E9
94        align:           0
95        reloff:          0x00000828
96        nreloc:          4
97        flags:           0x02000000
98        reserved1:       0x00000000
99        reserved2:       0x00000000
100        reserved3:       0x00000000
101        relocations:
102          - address:         0x0
103            symbolnum:       0
104            pcrel:           false
105            length:          0
106            extern:          true
107            type:            0
108            scattered:       false
109            value:           0
110          - address:         0x0
111            symbolnum:       0
112            pcrel:           false
113            length:          0
114            extern:          true
115            type:            0
116            scattered:       false
117            value:           0
118          - address:         0x0
119            symbolnum:       0
120            pcrel:           false
121            length:          0
122            extern:          true
123            type:            0
124            scattered:       false
125            value:           0
126          - address:         0x0
127            symbolnum:       0
128            pcrel:           false
129            length:          0
130            extern:          true
131            type:            0
132            scattered:       false
133            value:           0
134      - sectname:        __debug_macinfo
135        segname:         __DWARF
136        addr:            0x0000000000000166
137        size:            1
138        offset:          0x0000065E
139        align:           0
140        reloff:          0x00000000
141        nreloc:          0
142        flags:           0x02000000
143        reserved1:       0x00000000
144        reserved2:       0x00000000
145        reserved3:       0x00000000
146      - sectname:        __apple_names
147        segname:         __DWARF
148        addr:            0x0000000000000167
149        size:            116
150        offset:          0x0000065F
151        align:           0
152        reloff:          0x00000000
153        nreloc:          0
154        flags:           0x02000000
155        reserved1:       0x00000000
156        reserved2:       0x00000000
157        reserved3:       0x00000000
158      - sectname:        __apple_objc
159        segname:         __DWARF
160        addr:            0x00000000000001DB
161        size:            36
162        offset:          0x000006D3
163        align:           0
164        reloff:          0x00000000
165        nreloc:          0
166        flags:           0x02000000
167        reserved1:       0x00000000
168        reserved2:       0x00000000
169        reserved3:       0x00000000
170      - sectname:        __apple_namespac
171        segname:         __DWARF
172        addr:            0x00000000000001FF
173        size:            36
174        offset:          0x000006F7
175        align:           0
176        reloff:          0x00000000
177        nreloc:          0
178        flags:           0x02000000
179        reserved1:       0x00000000
180        reserved2:       0x00000000
181        reserved3:       0x00000000
182      - sectname:        __apple_types
183        segname:         __DWARF
184        addr:            0x0000000000000223
185        size:            71
186        offset:          0x0000071B
187        align:           0
188        reloff:          0x00000000
189        nreloc:          0
190        flags:           0x02000000
191        reserved1:       0x00000000
192        reserved2:       0x00000000
193        reserved3:       0x00000000
194      - sectname:        __compact_unwind
195        segname:         __LD
196        addr:            0x0000000000000270
197        size:            32
198        offset:          0x00000768
199        align:           3
200        reloff:          0x00000848
201        nreloc:          1
202        flags:           0x02000000
203        reserved1:       0x00000000
204        reserved2:       0x00000000
205        reserved3:       0x00000000
206        relocations:
207          - address:         0x0
208            symbolnum:       0
209            pcrel:           false
210            length:          0
211            extern:          true
212            type:            0
213            scattered:       false
214            value:           0
215      - sectname:        __eh_frame
216        segname:         __TEXT
217        addr:            0x0000000000000290
218        size:            64
219        offset:          0x00000788
220        align:           3
221        reloff:          0x00000000
222        nreloc:          0
223        flags:           0x6800000B
224        reserved1:       0x00000000
225        reserved2:       0x00000000
226        reserved3:       0x00000000
227      - sectname:        __debug_line
228        segname:         __DWARF
229        addr:            0x00000000000002D0
230        size:            78
231        offset:          0x000007C8
232        align:           0
233        reloff:          0x00000850
234        nreloc:          1
235        flags:           0x02000000
236        reserved1:       0x00000000
237        reserved2:       0x00000000
238        reserved3:       0x00000000
239        relocations:
240          - address:         0x0
241            symbolnum:       0
242            pcrel:           false
243            length:          0
244            extern:          true
245            type:            0
246            scattered:       false
247            value:           0
248  - cmd:             LC_BUILD_VERSION
249    cmdsize:         24
250    platform:        1
251    minos:           658944
252    sdk:             0
253    ntools:          0
254  - cmd:             LC_SYMTAB
255    cmdsize:         24
256    symoff:          2136
257    nsyms:           3
258    stroff:          2184
259    strsize:         20
260  - cmd:             LC_DYSYMTAB
261    cmdsize:         80
262    ilocalsym:       0
263    nlocalsym:       1
264    iextdefsym:      1
265    nextdefsym:      1
266    iundefsym:       2
267    nundefsym:       1
268    tocoff:          0
269    ntoc:            0
270    modtaboff:       0
271    nmodtab:         0
272    extrefsymoff:    0
273    nextrefsyms:     0
274    indirectsymoff:  0
275    nindirectsyms:   0
276    extreloff:       0
277    nextrel:         0
278    locreloff:       0
279    nlocrel:         0
280LinkEditData:
281  NameList:
282    - n_strx:          1
283      n_type:          0x0E
284      n_sect:          2
285      n_desc:          0
286      n_value:         36
287    - n_strx:          11
288      n_type:          0x0F
289      n_sect:          1
290      n_desc:          0
291      n_value:         0
292    - n_strx:          6
293      n_type:          0x01
294      n_sect:          0
295      n_desc:          512
296      n_value:         4
297  StringTable:
298    - ''
299    - _bar
300    - _foo
301    - _main
302    - ''
303    - ''
304    - ''
305DWARF:
306  debug_str:
307    - 'Apple LLVM version 10.0.1 (clang-1001.0.46.4)'
308    - strip-test.c
309    - '/Users/seiya/dev/llvm-project/llvm/build'
310    - foo
311    - int
312    - bar
313    - main
314  debug_abbrev:
315    - Table:
316        - Code:            0x00000001
317          Tag:             DW_TAG_compile_unit
318          Children:        DW_CHILDREN_yes
319          Attributes:
320            - Attribute:       DW_AT_producer
321              Form:            DW_FORM_strp
322            - Attribute:       DW_AT_language
323              Form:            DW_FORM_data2
324            - Attribute:       DW_AT_name
325              Form:            DW_FORM_strp
326            - Attribute:       DW_AT_stmt_list
327              Form:            DW_FORM_sec_offset
328            - Attribute:       DW_AT_comp_dir
329              Form:            DW_FORM_strp
330            - Attribute:       DW_AT_low_pc
331              Form:            DW_FORM_addr
332            - Attribute:       DW_AT_high_pc
333              Form:            DW_FORM_data4
334        - Code:            0x00000002
335          Tag:             DW_TAG_variable
336          Children:        DW_CHILDREN_no
337          Attributes:
338            - Attribute:       DW_AT_name
339              Form:            DW_FORM_strp
340            - Attribute:       DW_AT_type
341              Form:            DW_FORM_ref4
342            - Attribute:       DW_AT_external
343              Form:            DW_FORM_flag_present
344            - Attribute:       DW_AT_decl_file
345              Form:            DW_FORM_data1
346            - Attribute:       DW_AT_decl_line
347              Form:            DW_FORM_data1
348            - Attribute:       DW_AT_location
349              Form:            DW_FORM_exprloc
350        - Code:            0x00000003
351          Tag:             DW_TAG_base_type
352          Children:        DW_CHILDREN_no
353          Attributes:
354            - Attribute:       DW_AT_name
355              Form:            DW_FORM_strp
356            - Attribute:       DW_AT_encoding
357              Form:            DW_FORM_data1
358            - Attribute:       DW_AT_byte_size
359              Form:            DW_FORM_data1
360        - Code:            0x00000004
361          Tag:             DW_TAG_variable
362          Children:        DW_CHILDREN_no
363          Attributes:
364            - Attribute:       DW_AT_name
365              Form:            DW_FORM_strp
366            - Attribute:       DW_AT_type
367              Form:            DW_FORM_ref4
368            - Attribute:       DW_AT_decl_file
369              Form:            DW_FORM_data1
370            - Attribute:       DW_AT_decl_line
371              Form:            DW_FORM_data1
372            - Attribute:       DW_AT_location
373              Form:            DW_FORM_exprloc
374        - Code:            0x00000005
375          Tag:             DW_TAG_subprogram
376          Children:        DW_CHILDREN_no
377          Attributes:
378            - Attribute:       DW_AT_low_pc
379              Form:            DW_FORM_addr
380            - Attribute:       DW_AT_high_pc
381              Form:            DW_FORM_data4
382            - Attribute:       DW_AT_frame_base
383              Form:            DW_FORM_exprloc
384            - Attribute:       DW_AT_name
385              Form:            DW_FORM_strp
386            - Attribute:       DW_AT_decl_file
387              Form:            DW_FORM_data1
388            - Attribute:       DW_AT_decl_line
389              Form:            DW_FORM_data1
390            - Attribute:       DW_AT_type
391              Form:            DW_FORM_ref4
392            - Attribute:       DW_AT_external
393              Form:            DW_FORM_flag_present
394  debug_info:
395    - Version:         4
396      AbbrOffset:      0
397      AddrSize:        8
398      Entries:
399        - AbbrCode:        0x00000001
400          Values:
401            - Value:           0x0000000000000000
402            - Value:           0x000000000000000C
403            - Value:           0x000000000000002E
404            - Value:           0x0000000000000000
405            - Value:           0x000000000000003B
406            - Value:           0x0000000000000000
407            - Value:           0x0000000000000024
408        - AbbrCode:        0x00000002
409          Values:
410            - Value:           0x0000000000000064
411            - Value:           0x000000000000003F
412            - Value:           0x0000000000000001
413            - Value:           0x0000000000000001
414            - Value:           0x0000000000000001
415            - Value:           0x0000000000000009
416              BlockData:
417                - 0x03
418                - 0x00
419                - 0x00
420                - 0x00
421                - 0x00
422                - 0x00
423                - 0x00
424                - 0x00
425                - 0x00
426        - AbbrCode:        0x00000003
427          Values:
428            - Value:           0x0000000000000068
429            - Value:           0x0000000000000005
430            - Value:           0x0000000000000004
431        - AbbrCode:        0x00000004
432          Values:
433            - Value:           0x000000000000006C
434            - Value:           0x000000000000003F
435            - Value:           0x0000000000000001
436            - Value:           0x0000000000000002
437            - Value:           0x0000000000000009
438              BlockData:
439                - 0x03
440                - 0x24
441                - 0x00
442                - 0x00
443                - 0x00
444                - 0x00
445                - 0x00
446                - 0x00
447                - 0x00
448        - AbbrCode:        0x00000005
449          Values:
450            - Value:           0x0000000000000000
451            - Value:           0x0000000000000024
452            - Value:           0x0000000000000001
453              BlockData:
454                - 0x56
455            - Value:           0x0000000000000070
456            - Value:           0x0000000000000001
457            - Value:           0x0000000000000003
458            - Value:           0x000000000000003F
459            - Value:           0x0000000000000001
460        - AbbrCode:        0x00000000
461  debug_line:
462    - Length:          74
463      Version:         4
464      PrologueLength:  36
465      MinInstLength:   1
466      MaxOpsPerInst:   1
467      DefaultIsStmt:   1
468      LineBase:        251
469      LineRange:       14
470      OpcodeBase:      13
471      StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
472      Files:
473        - Name:            strip-test.c
474          DirIdx:          0
475          ModTime:         0
476          Length:          0
477      Opcodes:
478        - Opcode:          DW_LNS_extended_op
479          ExtLen:          9
480          SubOpcode:       DW_LNE_set_address
481          Data:            0
482        - Opcode:          0x14
483          Data:            0
484        - Opcode:          DW_LNS_set_column
485          Data:            7
486        - Opcode:          DW_LNS_set_prologue_end
487          Data:            7
488        - Opcode:          DW_LNS_const_add_pc
489          Data:            7
490        - Opcode:          0x21
491          Data:            7
492        - Opcode:          DW_LNS_set_column
493          Data:            10
494        - Opcode:          0x67
495          Data:            10
496        - Opcode:          DW_LNS_set_column
497          Data:            14
498        - Opcode:          DW_LNS_negate_stmt
499          Data:            14
500        - Opcode:          0x2E
501          Data:            14
502        - Opcode:          DW_LNS_set_column
503          Data:            3
504        - Opcode:          0x66
505          Data:            3
506        - Opcode:          DW_LNS_advance_pc
507          Data:            4
508        - Opcode:          DW_LNS_extended_op
509          ExtLen:          1
510          SubOpcode:       DW_LNE_end_sequence
511          Data:            4
512...
513