tests/cli/dump/module-types.wat.stdout
raw| 1 | 0x0 | 00 61 73 6d | version 13 (Component) |
| 2 | | 0d 00 01 00 |
| 3 | 0x8 | 03 23 | core type section |
| 4 | 0xa | 01 | 1 count |
| 5 | 0xb | 50 05 01 60 | [core type 0] Module([Type(RecGroup { inner: Implicit((14, SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false } })) }), Import(Import { module: "", name: "f", ty: Func(0) }), Import(Import { module: "", name: "g", ty: Global(GlobalType { content_type: I32, mutable: false, shared: false }) }), Import(Import { module: "", name: "t", ty: Table(TableType { element_type: funcref, table64: false, initial: 1, maximum: None, shared: false }) }), Import(Import { module: "", name: "m", ty: Memory(MemoryType { memory64: false, shared: false, initial: 1, maximum: None, page_size_log2: None }) })]) |
| 6 | | 00 00 00 00 |
| 7 | | 01 66 00 00 |
| 8 | | 00 00 01 67 |
| 9 | | 03 7f 00 00 |
| 10 | | 00 01 74 01 |
| 11 | | 70 00 01 00 |
| 12 | | 00 01 6d 02 |
| 13 | | 00 01 |
| 14 | 0x2d | 0a 07 | component import section |
| 15 | 0x2f | 01 | 1 count |
| 16 | 0x30 | 00 01 61 00 | [module 0] ComponentImport { name: ComponentImportName("a"), ty: Module(0) } |
| 17 | | 11 00 |
| 18 | 0x36 | 07 03 | component type section |
| 19 | 0x38 | 01 | 1 count |
| 20 | 0x39 | 42 00 | [type 0] Instance([]) |
| 21 | 0x3b | 00 22 | custom section |
| 22 | 0x3d | 0e 63 6f 6d | name: "component-name" |
| 23 | | 70 6f 6e 65 |
| 24 | | 6e 74 2d 6e |
| 25 | | 61 6d 65 |
| 26 | 0x4c | 01 06 00 11 | core module name section |
| 27 | 0x50 | 01 | 1 count |
| 28 | 0x51 | 00 01 6d | Naming { index: 0, name: "m" } |
| 29 | 0x54 | 01 09 03 | type name section |
| 30 | 0x57 | 01 | 1 count |
| 31 | 0x58 | 00 05 65 6d | Naming { index: 0, name: "empty" } |
| 32 | | 70 74 79 |