Debian Codegraph @

tests/cli/dump/instantiate2.wat.stdout

raw
1 0x0 | 00 61 73 6d | version 13 (Component)
2 | 0d 00 01 00
3 0x8 | 07 0e | component type section
4 0xa | 01 | 1 count
5 0xb | 41 02 01 40 | [type 0] Component([Type(Func(ComponentFuncType { params: [], result: None })), Import(ComponentImport { name: ComponentImportName("a"), ty: Func(0) })])
6 | 00 01 00 03
7 | 00 01 61 01
8 | 00
9 0x18 | 0a 06 | component import section
10 0x1a | 01 | 1 count
11 0x1b | 00 01 61 04 | [component 0] ComponentImport { name: ComponentImportName("a"), ty: Component(0) }
12 | 00
13 0x20 | 05 04 | component instance section
14 0x22 | 01 | 1 count
15 0x23 | 00 00 00 | [instance 0] Instantiate { component_index: 0, args: [] }
16 0x26 | 00 16 | custom section
17 0x28 | 0e 63 6f 6d | name: "component-name"
18 | 70 6f 6e 65
19 | 6e 74 2d 6e
20 | 61 6d 65
21 0x37 | 01 05 04 | component name section
22 0x3a | 01 | 1 count
23 0x3b | 00 01 63 | Naming { index: 0, name: "c" }