• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--- !COFF
2header:
3  Machine:         IMAGE_FILE_MACHINE_AMD64
4  Characteristics: [  ]
5sections:
6  - Name:            .text
7    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
8    Alignment:       16
9    SectionData:     4883EC28C744242400000000E800000000B82A0000004883C428C3
10    Relocations:
11      - VirtualAddress:  13
12        SymbolName:      foo
13        Type:            IMAGE_REL_AMD64_REL32
14  - Name:            .data
15    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
16    Alignment:       4
17    SectionData:     ''
18  - Name:            .bss
19    Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
20    Alignment:       4
21    SectionData:     ''
22  - Name:            .xdata
23    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
24    Alignment:       4
25    SectionData:     '0104010004420000'
26  - Name:            .text
27    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
28    Alignment:       16
29    SectionData:     4883EC28E800000000904883C428C3
30    Relocations:
31      - VirtualAddress:  5
32        SymbolName:      bar
33        Type:            IMAGE_REL_AMD64_REL32
34  - Name:            .drectve
35    Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
36    Alignment:       1
37    SectionData:     202F44454641554C544C49423A6C6962636D742E6C6962202F44454641554C544C49423A6F6C646E616D65732E6C6962
38  - Name:            '.debug$S'
39    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
40    Alignment:       4
41    SectionData:     04000000F10000002F0000002D003C1100000000D0000700000000000000581B000000000000636C616E672076657273696F6E20372E302E30200000F1000000300000002A0047110000000000000000000000001B000000000000000000000002100000000000000000006D61696E0002004F11F20000003000000000000000000000001B00000000000000030000002400000000000000020000000C000000030000001100000004000000F400000030000000010000001001EA6429BCE282CCF3F0E3CD93B216EB410000110000001001061EB73ABB642532857A4F1D9CBAC3230000F30000001C000000002E5C7064625F6C696E65735F312E63002E5C666F6F2E6800000000
42    Subsections:
43      - !Symbols
44        Records:
45          - Kind:            S_COMPILE3
46            Compile3Sym:
47              Flags:           [  ]
48              Machine:         X64
49              FrontendMajor:   7
50              FrontendMinor:   0
51              FrontendBuild:   0
52              FrontendQFE:     0
53              BackendMajor:    7000
54              BackendMinor:    0
55              BackendBuild:    0
56              BackendQFE:      0
57              Version:         'clang version 7.0.0 '
58      - !Symbols
59        Records:
60          - Kind:            S_GPROC32_ID
61            ProcSym:
62              CodeSize:        27
63              DbgStart:        0
64              DbgEnd:          0
65              FunctionType:    4098
66              Flags:           [  ]
67              DisplayName:     main
68          - Kind:            S_PROC_ID_END
69            ScopeEndSym:
70      - !Lines
71        CodeSize:        27
72        Flags:           [  ]
73        RelocOffset:     0
74        RelocSegment:    0
75        Blocks:
76          - FileName:        '.\pdb_lines_1.c'
77            Lines:
78              - Offset:          0
79                LineStart:       2
80                IsStatement:     false
81                EndDelta:        0
82              - Offset:          12
83                LineStart:       3
84                IsStatement:     false
85                EndDelta:        0
86              - Offset:          17
87                LineStart:       4
88                IsStatement:     false
89                EndDelta:        0
90            Columns:
91      - !FileChecksums
92        Checksums:
93          - FileName:        '.\pdb_lines_1.c'
94            Kind:            MD5
95            Checksum:        EA6429BCE282CCF3F0E3CD93B216EB41
96          - FileName:        '.\foo.h'
97            Kind:            MD5
98            Checksum:        061EB73ABB642532857A4F1D9CBAC323
99      - !StringTable
100        Strings:
101          - '.\pdb_lines_1.c'
102          - '.\foo.h'
103          - ''
104          - ''
105          - ''
106    Relocations:
107      - VirtualAddress:  100
108        SymbolName:      main
109        Type:            IMAGE_REL_AMD64_SECREL
110      - VirtualAddress:  104
111        SymbolName:      main
112        Type:            IMAGE_REL_AMD64_SECTION
113      - VirtualAddress:  124
114        SymbolName:      main
115        Type:            IMAGE_REL_AMD64_SECREL
116      - VirtualAddress:  128
117        SymbolName:      main
118        Type:            IMAGE_REL_AMD64_SECTION
119  - Name:            '.debug$T'
120    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
121    Alignment:       4
122    SectionData:     0400000006000112000000000E0008107400000000000000001000001200011600000000011000006D61696E00F3F2F10E0008100300000000000000001000000E0001160000000003100000666F6F00
123    Types:
124      - Kind:            LF_ARGLIST
125        ArgList:
126          ArgIndices:      [  ]
127      - Kind:            LF_PROCEDURE
128        Procedure:
129          ReturnType:      116
130          CallConv:        NearC
131          Options:         [ None ]
132          ParameterCount:  0
133          ArgumentList:    4096
134      - Kind:            LF_FUNC_ID
135        FuncId:
136          ParentScope:     0
137          FunctionType:    4097
138          Name:            main
139      - Kind:            LF_PROCEDURE
140        Procedure:
141          ReturnType:      3
142          CallConv:        NearC
143          Options:         [ None ]
144          ParameterCount:  0
145          ArgumentList:    4096
146      - Kind:            LF_FUNC_ID
147        FuncId:
148          ParentScope:     0
149          FunctionType:    4099
150          Name:            foo
151  - Name:            .pdata
152    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
153    Alignment:       4
154    SectionData:     000000001B00000000000000
155    Relocations:
156      - VirtualAddress:  0
157        SymbolName:      main
158        Type:            IMAGE_REL_AMD64_ADDR32NB
159      - VirtualAddress:  4
160        SymbolName:      main
161        Type:            IMAGE_REL_AMD64_ADDR32NB
162      - VirtualAddress:  8
163        SymbolName:      .xdata
164        Type:            IMAGE_REL_AMD64_ADDR32NB
165  - Name:            .xdata
166    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ]
167    Alignment:       4
168    SectionData:     '0104010004420000'
169  - Name:            '.debug$S'
170    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
171    Alignment:       4
172    SectionData:     04000000F10000002F000000290047110000000000000000000000000F00000000000000000000000410000000000000000000666F6F0002004F1100F20000003000000000000000000000000F000000180000000300000024000000000000000200000004000000030000000900000004000000
173    Subsections:
174      - !Symbols
175        Records:
176          - Kind:            S_GPROC32_ID
177            ProcSym:
178              CodeSize:        15
179              DbgStart:        0
180              DbgEnd:          0
181              FunctionType:    4100
182              Flags:           [  ]
183              DisplayName:     foo
184          - Kind:            S_PROC_ID_END
185            ScopeEndSym:
186      - !Lines
187        CodeSize:        15
188        Flags:           [  ]
189        RelocOffset:     0
190        RelocSegment:    0
191        Blocks:
192          - FileName:        '.\foo.h'
193            Lines:
194              - Offset:          0
195                LineStart:       2
196                IsStatement:     false
197                EndDelta:        0
198              - Offset:          4
199                LineStart:       3
200                IsStatement:     false
201                EndDelta:        0
202              - Offset:          9
203                LineStart:       4
204                IsStatement:     false
205                EndDelta:        0
206            Columns:
207    Relocations:
208      - VirtualAddress:  44
209        SymbolName:      foo
210        Type:            IMAGE_REL_AMD64_SECREL
211      - VirtualAddress:  48
212        SymbolName:      foo
213        Type:            IMAGE_REL_AMD64_SECTION
214      - VirtualAddress:  68
215        SymbolName:      foo
216        Type:            IMAGE_REL_AMD64_SECREL
217      - VirtualAddress:  72
218        SymbolName:      foo
219        Type:            IMAGE_REL_AMD64_SECTION
220  - Name:            .pdata
221    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ]
222    Alignment:       4
223    SectionData:     000000000F00000000000000
224    Relocations:
225      - VirtualAddress:  0
226        SymbolName:      foo
227        Type:            IMAGE_REL_AMD64_ADDR32NB
228      - VirtualAddress:  4
229        SymbolName:      foo
230        Type:            IMAGE_REL_AMD64_ADDR32NB
231      - VirtualAddress:  8
232        SymbolName:      .xdata
233        Type:            IMAGE_REL_AMD64_ADDR32NB
234symbols:
235  - Name:            .text
236    Value:           0
237    SectionNumber:   1
238    SimpleType:      IMAGE_SYM_TYPE_NULL
239    ComplexType:     IMAGE_SYM_DTYPE_NULL
240    StorageClass:    IMAGE_SYM_CLASS_STATIC
241    SectionDefinition:
242      Length:          27
243      NumberOfRelocations: 1
244      NumberOfLinenumbers: 0
245      CheckSum:        3051916600
246      Number:          1
247  - Name:            .data
248    Value:           0
249    SectionNumber:   2
250    SimpleType:      IMAGE_SYM_TYPE_NULL
251    ComplexType:     IMAGE_SYM_DTYPE_NULL
252    StorageClass:    IMAGE_SYM_CLASS_STATIC
253    SectionDefinition:
254      Length:          0
255      NumberOfRelocations: 0
256      NumberOfLinenumbers: 0
257      CheckSum:        0
258      Number:          2
259  - Name:            .bss
260    Value:           0
261    SectionNumber:   3
262    SimpleType:      IMAGE_SYM_TYPE_NULL
263    ComplexType:     IMAGE_SYM_DTYPE_NULL
264    StorageClass:    IMAGE_SYM_CLASS_STATIC
265    SectionDefinition:
266      Length:          0
267      NumberOfRelocations: 0
268      NumberOfLinenumbers: 0
269      CheckSum:        0
270      Number:          3
271  - Name:            .xdata
272    Value:           0
273    SectionNumber:   4
274    SimpleType:      IMAGE_SYM_TYPE_NULL
275    ComplexType:     IMAGE_SYM_DTYPE_NULL
276    StorageClass:    IMAGE_SYM_CLASS_STATIC
277    SectionDefinition:
278      Length:          8
279      NumberOfRelocations: 0
280      NumberOfLinenumbers: 0
281      CheckSum:        264583633
282      Number:          4
283  - Name:            .text
284    Value:           0
285    SectionNumber:   5
286    SimpleType:      IMAGE_SYM_TYPE_NULL
287    ComplexType:     IMAGE_SYM_DTYPE_NULL
288    StorageClass:    IMAGE_SYM_CLASS_STATIC
289    SectionDefinition:
290      Length:          15
291      NumberOfRelocations: 1
292      NumberOfLinenumbers: 0
293      CheckSum:        236440503
294      Number:          5
295      Selection:       IMAGE_COMDAT_SELECT_ANY
296  - Name:            foo
297    Value:           0
298    SectionNumber:   5
299    SimpleType:      IMAGE_SYM_TYPE_NULL
300    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
301    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
302  - Name:            .xdata
303    Value:           0
304    SectionNumber:   10
305    SimpleType:      IMAGE_SYM_TYPE_NULL
306    ComplexType:     IMAGE_SYM_DTYPE_NULL
307    StorageClass:    IMAGE_SYM_CLASS_STATIC
308    SectionDefinition:
309      Length:          8
310      NumberOfRelocations: 0
311      NumberOfLinenumbers: 0
312      CheckSum:        264583633
313      Number:          5
314      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE
315  - Name:            .drectve
316    Value:           0
317    SectionNumber:   6
318    SimpleType:      IMAGE_SYM_TYPE_NULL
319    ComplexType:     IMAGE_SYM_DTYPE_NULL
320    StorageClass:    IMAGE_SYM_CLASS_STATIC
321    SectionDefinition:
322      Length:          48
323      NumberOfRelocations: 0
324      NumberOfLinenumbers: 0
325      CheckSum:        149686238
326      Number:          6
327  - Name:            '.debug$S'
328    Value:           0
329    SectionNumber:   7
330    SimpleType:      IMAGE_SYM_TYPE_NULL
331    ComplexType:     IMAGE_SYM_DTYPE_NULL
332    StorageClass:    IMAGE_SYM_CLASS_STATIC
333    SectionDefinition:
334      Length:          264
335      NumberOfRelocations: 4
336      NumberOfLinenumbers: 0
337      CheckSum:        2204933783
338      Number:          7
339  - Name:            '.debug$S'
340    Value:           0
341    SectionNumber:   11
342    SimpleType:      IMAGE_SYM_TYPE_NULL
343    ComplexType:     IMAGE_SYM_DTYPE_NULL
344    StorageClass:    IMAGE_SYM_CLASS_STATIC
345    SectionDefinition:
346      Length:          116
347      NumberOfRelocations: 4
348      NumberOfLinenumbers: 0
349      CheckSum:        2691661839
350      Number:          5
351      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE
352  - Name:            '.debug$T'
353    Value:           0
354    SectionNumber:   8
355    SimpleType:      IMAGE_SYM_TYPE_NULL
356    ComplexType:     IMAGE_SYM_DTYPE_NULL
357    StorageClass:    IMAGE_SYM_CLASS_STATIC
358    SectionDefinition:
359      Length:          80
360      NumberOfRelocations: 0
361      NumberOfLinenumbers: 0
362      CheckSum:        3541780432
363      Number:          8
364  - Name:            .pdata
365    Value:           0
366    SectionNumber:   9
367    SimpleType:      IMAGE_SYM_TYPE_NULL
368    ComplexType:     IMAGE_SYM_DTYPE_NULL
369    StorageClass:    IMAGE_SYM_CLASS_STATIC
370    SectionDefinition:
371      Length:          12
372      NumberOfRelocations: 3
373      NumberOfLinenumbers: 0
374      CheckSum:        567356797
375      Number:          9
376  - Name:            .pdata
377    Value:           0
378    SectionNumber:   12
379    SimpleType:      IMAGE_SYM_TYPE_NULL
380    ComplexType:     IMAGE_SYM_DTYPE_NULL
381    StorageClass:    IMAGE_SYM_CLASS_STATIC
382    SectionDefinition:
383      Length:          12
384      NumberOfRelocations: 3
385      NumberOfLinenumbers: 0
386      CheckSum:        3642757804
387      Number:          5
388      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE
389  - Name:            main
390    Value:           0
391    SectionNumber:   1
392    SimpleType:      IMAGE_SYM_TYPE_NULL
393    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
394    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
395  - Name:            bar
396    Value:           0
397    SectionNumber:   0
398    SimpleType:      IMAGE_SYM_TYPE_NULL
399    ComplexType:     IMAGE_SYM_DTYPE_NULL
400    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
401...
402