Debian Codegraph @

tests/cli/dump/component-expand-bundle.wat.stdout

raw
1 0x0 | 00 61 73 6d | version 13 (Component)
2 | 0d 00 01 00
3 0x8 | 01 29 | [core module 0] inline size
4 0xa | 00 61 73 6d | version 1 (Module)
5 | 01 00 00 00
6 0x12 | 01 04 | type section
7 0x14 | 01 | 1 count
8 --- rec group 0 (implicit) ---
9 0x15 | 60 00 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false } }
10 0x18 | 03 02 | func section
11 0x1a | 01 | 1 count
12 0x1b | 00 | [func 0] type 0
13 0x1c | 07 04 | export section
14 0x1e | 01 | 1 count
15 0x1f | 00 00 00 | export Export { name: "", kind: Func, index: 0 }
16 0x22 | 0a 04 | code section
17 0x24 | 01 | 1 count
18 ============== func 0 ====================
19 0x25 | 02 | size of function
20 0x26 | 00 | 0 local blocks
21 0x27 | 0b | end
22 0x28 | 00 09 | custom section
23 0x2a | 04 6e 61 6d | name: "name"
24 | 65
25 0x2f | 00 02 | module name
26 0x31 | 01 6d | "m"
27 0x33 | 01 22 | [core module 1] inline size
28 0x35 | 00 61 73 6d | version 1 (Module)
29 | 01 00 00 00
30 0x3d | 01 04 | type section
31 0x3f | 01 | 1 count
32 --- rec group 0 (implicit) ---
33 0x40 | 60 00 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false } }
34 0x43 | 02 06 | import section
35 0x45 | 01 | 1 count
36 0x46 | 00 01 61 00 | import [func 0] Import { module: "", name: "a", ty: Func(0) }
37 | 00
38 0x4b | 00 0a | custom section
39 0x4d | 04 6e 61 6d | name: "name"
40 | 65
41 0x52 | 00 03 | module name
42 0x54 | 02 6d 32 | "m2"
43 0x57 | 02 04 | core instance section
44 0x59 | 01 | 1 count
45 0x5a | 00 00 00 | [core instance 0] Instantiate { module_index: 0, args: [] }
46 0x5d | 06 06 | component alias section
47 0x5f | 01 | 1 count
48 0x60 | 00 00 01 00 | alias [core func 0] CoreInstanceExport { kind: Func, instance_index: 0, name: "" }
49 | 00
50 0x65 | 02 0d | core instance section
51 0x67 | 02 | 2 count
52 0x68 | 01 01 01 61 | [core instance 1] FromExports([Export { name: "a", kind: Func, index: 0 }])
53 | 00 00
54 0x6e | 00 01 01 00 | [core instance 2] Instantiate { module_index: 1, args: [InstantiationArg { name: "", kind: Instance, index: 1 }] }
55 | 12 01
56 0x74 | 00 2b | custom section
57 0x76 | 0e 63 6f 6d | name: "component-name"
58 | 70 6f 6e 65
59 | 6e 74 2d 6e
60 | 61 6d 65
61 0x85 | 01 06 00 00 | core func name section
62 0x89 | 01 | 1 count
63 0x8a | 00 01 66 | Naming { index: 0, name: "f" }
64 0x8d | 01 0a 00 11 | core module name section
65 0x91 | 02 | 2 count
66 0x92 | 00 01 6d | Naming { index: 0, name: "m" }
67 0x95 | 01 02 6d 32 | Naming { index: 1, name: "m2" }
68 0x99 | 01 06 00 12 | core instance name section
69 0x9d | 01 | 1 count
70 0x9e | 00 01 4d | Naming { index: 0, name: "M" }