1--- !WASM
2FileHeader:
3  Version:         0x00000001
4Sections:
5  - Type:            TYPE
6    Signatures:
7      - Index:           0
8        ParamTypes:
9        ReturnTypes:
10          - I64
11  - Type:            IMPORT
12    Imports:
13      - Module:          env
14        Field:           unused_undef_global
15        Kind:            GLOBAL
16        GlobalType:      I64
17        GlobalMutable:   true
18      - Module:          env
19        Field:           used_undef_global
20        Kind:            GLOBAL
21        GlobalType:      I64
22        GlobalMutable:   true
23  - Type:            FUNCTION
24    FunctionTypes:   [ 0 ]
25  - Type:            CODE
26    Functions:
27      - Index:           0
28        Locals:
29        Body:            2381808080000B
30    Relocations:
31      - Type:            R_WASM_GLOBAL_INDEX_LEB
32        Index:           1
33        Offset:          0x00000004
34  - Type:            CUSTOM
35    Name:            linking
36    Version:         2
37    SymbolTable:
38      - Index:           0
39        Kind:            GLOBAL
40        Name:            unused_undef_global
41        Flags:           [ VISIBILITY_HIDDEN, UNDEFINED ]
42        Global:          0
43      - Index:           1
44        Kind:            GLOBAL
45        Name:            used_undef_global
46        Flags:           [ VISIBILITY_HIDDEN, UNDEFINED ]
47        Global:          1
48      - Index:           2
49        Kind:            FUNCTION
50        Name:            use_undef_global
51        Flags:           [ VISIBILITY_HIDDEN ]
52        Function:        0
53...
54