1header: !Header
2  Machine: IMAGE_FILE_MACHINE_AMD64 # (0x8664)
3
4sections:
5  - !Section
6    Name: .text
7    Alignment: 16
8    Characteristics: [IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ, ] # 0x60500020
9    SectionData:  !hex "4883EC28C744242400000000488D0D00000000E800000000E8000000008B4424244883C428C3" # |H..(.D$$....H.................D$$H..(.|
10
11    Relocations:
12      - !Relocation
13        VirtualAddress: 0xf
14        SymbolName: L.str
15        Type: IMAGE_REL_AMD64_REL32
16
17      - !Relocation
18        VirtualAddress: 0x14
19        SymbolName: puts
20        Type: IMAGE_REL_AMD64_REL32
21
22      - !Relocation
23        VirtualAddress: 0x19
24        SymbolName: SomeOtherFunction
25        Type: IMAGE_REL_AMD64_REL32
26
27  - !Section
28    Name: .data
29    Alignment: 1
30    Characteristics: [IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE, ] # 0xc0100040
31    SectionData:  !hex "48656C6C6F20576F726C642100" # |Hello World!.|
32
33  - !Section
34    Name: '.CRT$XCU'
35    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
36    Alignment: 8
37    SectionData:  !hex "0000000000000000"
38    Relocations:
39      - VirtualAddress: 0
40        SymbolName: '??__Ex@@YAXXZ'
41        Type: IMAGE_REL_AMD64_ADDR64
42
43symbols:
44  - !Symbol
45    Name: .text
46    Value: 0
47    SectionNumber: 1
48    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
49    ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
50    StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
51    SectionDefinition:
52      Length:          38
53      NumberOfRelocations: 3
54      NumberOfLinenumbers: 0
55      CheckSum:        0
56      Number:          1
57
58  - !Symbol
59    Name: .data
60    Value: 0
61    SectionNumber: 2
62    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
63    ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
64    StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
65    SectionDefinition:
66      Length:          13
67      NumberOfRelocations: 0
68      NumberOfLinenumbers: 0
69      CheckSum:        0
70      Number:          2
71
72  - !Symbol
73    Name: main
74    Value: 0
75    SectionNumber: 1
76    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
77    ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
78    StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
79
80  - !Symbol
81    Name: L.str
82    Value: 0
83    SectionNumber: 2
84    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
85    ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
86    StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
87
88  - !Symbol
89    Name: puts
90    Value: 0
91    SectionNumber: 0
92    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
93    ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
94    StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
95
96  - !Symbol
97    Name: SomeOtherFunction
98    Value: 0
99    SectionNumber: 0
100    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
101    ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
102    StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
103
104  - !Symbol
105    Name: '??__Ex@@YAXXZ'
106    Value: 0
107    SectionNumber: 3
108    SimpleType: IMAGE_SYM_TYPE_NULL # (0)
109    ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
110    StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
111