• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--- !COFF
2header:
3  Machine:         IMAGE_FILE_MACHINE_AMD64
4  Characteristics: [  ]
5sections:
6  - Name:            .drectve
7    Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
8    Alignment:       1
9    SectionData:     2020202F44454641554C544C49423A224C4942434D5422202F44454641554C544C49423A224F4C444E414D45532220
10  - Name:            '.debug$S'
11    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
12    Alignment:       1
13    Subsections:
14      - !Symbols
15        Records:
16          - Kind:            S_OBJNAME
17            ObjNameSym:
18              Signature:       0
19              ObjectName:      'D:\b\ret42-main.obj'
20          - Kind:            S_COMPILE3
21            Compile3Sym:
22              Flags:           [ SecurityChecks, HotPatch ]
23              Machine:         X64
24              FrontendMajor:   19
25              FrontendMinor:   0
26              FrontendBuild:   23026
27              FrontendQFE:     0
28              BackendMajor:    19
29              BackendMinor:    0
30              BackendBuild:    23026
31              BackendQFE:      0
32              Version:         'Microsoft (R) Optimizing Compiler'
33      - !Symbols
34        Records:
35          - Kind:            S_GPROC32_ID
36            ProcSym:
37              CodeSize:        14
38              DbgStart:        4
39              DbgEnd:          9
40              FunctionType:    4101
41              Flags:           [  ]
42              DisplayName:     main
43          - Kind:            S_FRAMEPROC
44            FrameProcSym:
45              TotalFrameBytes: 40
46              PaddingFrameBytes: 0
47              OffsetToPadding: 0
48              BytesOfCalleeSavedRegisters: 0
49              OffsetOfExceptionHandler: 0
50              SectionIdOfExceptionHandler: 0
51              Flags:           [ AsynchronousExceptionHandling, OptimizedForSpeed ]
52          - Kind:            S_PROC_ID_END
53            ScopeEndSym:
54      - !Lines
55        CodeSize:        14
56        Flags:           [  ]
57        RelocOffset:     0
58        RelocSegment:    0
59        Blocks:
60          - FileName:        'd:\b\ret42-main.c'
61            Lines:
62              - Offset:          0
63                LineStart:       2
64                IsStatement:     true
65                EndDelta:        0
66            Columns:
67      - !FileChecksums
68        Checksums:
69          - FileName:        'd:\b\ret42-main.c'
70            Kind:            MD5
71            Checksum:        C538722F63570DF6705DDE06FE96E5D1
72      - !StringTable
73        Strings:
74          - 'd:\b\ret42-main.c'
75      - !Symbols
76        Records:
77          - Kind:            S_BUILDINFO
78            BuildInfoSym:
79              BuildId:         4110
80    Relocations:
81      - VirtualAddress:  140
82        SymbolName:      main
83        Type:            IMAGE_REL_AMD64_SECREL
84      - VirtualAddress:  144
85        SymbolName:      main
86        Type:            IMAGE_REL_AMD64_SECTION
87      - VirtualAddress:  196
88        SymbolName:      main
89        Type:            IMAGE_REL_AMD64_SECREL
90      - VirtualAddress:  200
91        SymbolName:      main
92        Type:            IMAGE_REL_AMD64_SECTION
93  - Name:            '.debug$T'
94    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
95    Alignment:       1
96    Types:
97      - Kind:            LF_ARGLIST
98        ArgList:
99          ArgIndices:      [  ]
100      - Kind:            LF_PROCEDURE
101        Procedure:
102          ReturnType:      116
103          CallConv:        NearC
104          Options:         [ None ]
105          ParameterCount:  0
106          ArgumentList:    4096
107      - Kind:            LF_POINTER
108        Pointer:
109          ReferentType:    4097
110          Attrs:           65548
111      - Kind:            LF_ARGLIST
112        ArgList:
113          ArgIndices:      [ 0 ]
114      - Kind:            LF_PROCEDURE
115        Procedure:
116          ReturnType:      116
117          CallConv:        NearC
118          Options:         [ None ]
119          ParameterCount:  0
120          ArgumentList:    4099
121      - Kind:            LF_FUNC_ID
122        FuncId:
123          ParentScope:     0
124          FunctionType:    4100
125          Name:            main
126      - Kind:            LF_FUNC_ID
127        FuncId:
128          ParentScope:     0
129          FunctionType:    4097
130          Name:            foo
131      - Kind:            LF_STRING_ID
132        StringId:
133          Id:              0
134          String:          'D:\b'
135      - Kind:            LF_STRING_ID
136        StringId:
137          Id:              0
138          String:          'C:\vs14\VC\BIN\amd64\cl.exe'
139      - Kind:            LF_STRING_ID
140        StringId:
141          Id:              0
142          String:          '-Z7 -c -MT -IC:\vs14\VC\INCLUDE -IC:\vs14\VC\ATLMFC\INCLUDE -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared"'
143      - Kind:            LF_SUBSTR_LIST
144        StringList:
145          StringIndices:   [ 4105 ]
146      - Kind:            LF_STRING_ID
147        StringId:
148          Id:              4106
149          String:          ' -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" -TC -X'
150      - Kind:            LF_STRING_ID
151        StringId:
152          Id:              0
153          String:          ret42-main.c
154      - Kind:            LF_STRING_ID
155        StringId:
156          Id:              0
157          String:          'D:\b\vc140.pdb'
158      - Kind:            LF_BUILDINFO
159        BuildInfo:
160          ArgIndices:      [ 4103, 4104, 4108, 4109, 4107 ]
161  - Name:            '.text$mn'
162    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
163    Alignment:       16
164    SectionData:     4883EC28E8000000004883C428C3
165    Relocations:
166      - VirtualAddress:  5
167        SymbolName:      foo
168        Type:            IMAGE_REL_AMD64_REL32
169  - Name:            .xdata
170    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
171    Alignment:       4
172    SectionData:     '0104010004420000'
173  - Name:            .pdata
174    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
175    Alignment:       4
176    SectionData:     '000000000E00000000000000'
177    Relocations:
178      - VirtualAddress:  0
179        SymbolName:      '$LN3'
180        Type:            IMAGE_REL_AMD64_ADDR32NB
181      - VirtualAddress:  4
182        SymbolName:      '$LN3'
183        Type:            IMAGE_REL_AMD64_ADDR32NB
184      - VirtualAddress:  8
185        SymbolName:      '$unwind$main'
186        Type:            IMAGE_REL_AMD64_ADDR32NB
187symbols:
188  - Name:            '@comp.id'
189    Value:           17062386
190    SectionNumber:   -1
191    SimpleType:      IMAGE_SYM_TYPE_NULL
192    ComplexType:     IMAGE_SYM_DTYPE_NULL
193    StorageClass:    IMAGE_SYM_CLASS_STATIC
194  - Name:            '@feat.00'
195    Value:           2147484048
196    SectionNumber:   -1
197    SimpleType:      IMAGE_SYM_TYPE_NULL
198    ComplexType:     IMAGE_SYM_DTYPE_NULL
199    StorageClass:    IMAGE_SYM_CLASS_STATIC
200  - Name:            .drectve
201    Value:           0
202    SectionNumber:   1
203    SimpleType:      IMAGE_SYM_TYPE_NULL
204    ComplexType:     IMAGE_SYM_DTYPE_NULL
205    StorageClass:    IMAGE_SYM_CLASS_STATIC
206    SectionDefinition:
207      Length:          47
208      NumberOfRelocations: 0
209      NumberOfLinenumbers: 0
210      CheckSum:        0
211      Number:          0
212  - Name:            '.debug$S'
213    Value:           0
214    SectionNumber:   2
215    SimpleType:      IMAGE_SYM_TYPE_NULL
216    ComplexType:     IMAGE_SYM_DTYPE_NULL
217    StorageClass:    IMAGE_SYM_CLASS_STATIC
218    SectionDefinition:
219      Length:          304
220      NumberOfRelocations: 4
221      NumberOfLinenumbers: 0
222      CheckSum:        0
223      Number:          0
224  - Name:            '.debug$T'
225    Value:           0
226    SectionNumber:   3
227    SimpleType:      IMAGE_SYM_TYPE_NULL
228    ComplexType:     IMAGE_SYM_DTYPE_NULL
229    StorageClass:    IMAGE_SYM_CLASS_STATIC
230    SectionDefinition:
231      Length:          636
232      NumberOfRelocations: 0
233      NumberOfLinenumbers: 0
234      CheckSum:        0
235      Number:          0
236  - Name:            '.text$mn'
237    Value:           0
238    SectionNumber:   4
239    SimpleType:      IMAGE_SYM_TYPE_NULL
240    ComplexType:     IMAGE_SYM_DTYPE_NULL
241    StorageClass:    IMAGE_SYM_CLASS_STATIC
242    SectionDefinition:
243      Length:          14
244      NumberOfRelocations: 1
245      NumberOfLinenumbers: 0
246      CheckSum:        1682752513
247      Number:          0
248  - Name:            foo
249    Value:           0
250    SectionNumber:   0
251    SimpleType:      IMAGE_SYM_TYPE_NULL
252    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
253    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
254  - Name:            main
255    Value:           0
256    SectionNumber:   4
257    SimpleType:      IMAGE_SYM_TYPE_NULL
258    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
259    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
260  - Name:            '$LN3'
261    Value:           0
262    SectionNumber:   4
263    SimpleType:      IMAGE_SYM_TYPE_NULL
264    ComplexType:     IMAGE_SYM_DTYPE_NULL
265    StorageClass:    IMAGE_SYM_CLASS_LABEL
266  - Name:            .xdata
267    Value:           0
268    SectionNumber:   5
269    SimpleType:      IMAGE_SYM_TYPE_NULL
270    ComplexType:     IMAGE_SYM_DTYPE_NULL
271    StorageClass:    IMAGE_SYM_CLASS_STATIC
272    SectionDefinition:
273      Length:          8
274      NumberOfRelocations: 0
275      NumberOfLinenumbers: 0
276      CheckSum:        264583633
277      Number:          0
278  - Name:            '$unwind$main'
279    Value:           0
280    SectionNumber:   5
281    SimpleType:      IMAGE_SYM_TYPE_NULL
282    ComplexType:     IMAGE_SYM_DTYPE_NULL
283    StorageClass:    IMAGE_SYM_CLASS_STATIC
284  - Name:            .pdata
285    Value:           0
286    SectionNumber:   6
287    SimpleType:      IMAGE_SYM_TYPE_NULL
288    ComplexType:     IMAGE_SYM_DTYPE_NULL
289    StorageClass:    IMAGE_SYM_CLASS_STATIC
290    SectionDefinition:
291      Length:          12
292      NumberOfRelocations: 3
293      NumberOfLinenumbers: 0
294      CheckSum:        361370162
295      Number:          0
296  - Name:            '$pdata$main'
297    Value:           0
298    SectionNumber:   6
299    SimpleType:      IMAGE_SYM_TYPE_NULL
300    ComplexType:     IMAGE_SYM_DTYPE_NULL
301    StorageClass:    IMAGE_SYM_CLASS_STATIC
302...
303