Debian Codegraph @

tests/cli/dump-elem-segments.wat.stdout

raw
1 0x0 | 00 61 73 6d | version 1 (Module)
2 | 01 00 00 00
3 0x8 | 01 04 | type section
4 0xa | 01 | 1 count
5 --- rec group 0 (implicit) ---
6 0xb | 60 00 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false } }
7 0xe | 03 02 | func section
8 0x10 | 01 | 1 count
9 0x11 | 00 | [func 0] type 0
10 0x12 | 04 05 | table section
11 0x14 | 01 | 1 count
12 0x15 | 70 01 01 01 | [table 0] Table { ty: TableType { element_type: funcref, table64: false, initial: 1, maximum: Some(1), shared: false }, init: RefNull }
13 0x19 | 09 25 | element section
14 0x1b | 08 | 8 count
15 0x1c | 00 | element table[None]
16 0x1d | 41 00 | i32_const value:0
17 0x1f | 0b | end
18 0x20 | 00 | 0 items [indices]
19 0x21 | 01 00 00 | element passive, 0 items [indices]
20 0x24 | 02 00 | element table[Some(0)]
21 0x26 | 41 00 | i32_const value:0
22 0x28 | 0b | end
23 0x29 | 00 00 | 0 items [indices]
24 0x2b | 03 00 00 | element declared 0 items [indices]
25 0x2e | 04 | element table[None]
26 0x2f | 41 00 | i32_const value:0
27 0x31 | 0b | end
28 0x32 | 00 | 0 items [exprs funcref]
29 0x33 | 05 70 00 | element passive, 0 items [exprs funcref]
30 0x36 | 06 00 | element table[Some(0)]
31 0x38 | 41 00 | i32_const value:0
32 0x3a | 0b | end
33 0x3b | 70 00 | 0 items [exprs funcref]
34 0x3d | 07 70 00 | element declared 0 items [exprs funcref]
35 0x40 | 0a 04 | code section
36 0x42 | 01 | 1 count
37 ============== func 0 ====================
38 0x43 | 02 | size of function
39 0x44 | 00 | 0 local blocks
40 0x45 | 0b | end
41 0x46 | 00 0b | custom section
42 0x48 | 04 6e 61 6d | name: "name"
43 | 65
44 0x4d | 01 04 | function name section
45 0x4f | 01 | 1 count
46 0x50 | 00 01 66 | Naming { index: 0, name: "f" }