$ fq -d wasm dv elem-5.wasm |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: elem-5.wasm (wasm) 0x0-0x4e.7 (79) 0x00|00 61 73 6d |.asm | magic: raw bits (valid) 0x0-0x3.7 (4) 0x00| 01 00 00 00 | .... | version: 1 0x4-0x7.7 (4) | | | sections[0:5]: 0x8-0x4e.7 (71) | | | [0]{}: section 0x8-0xd.7 (6) 0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1) 0x00| 04 | . | size: 4 0x9-0x9.7 (1) | | | content{}: 0xa-0xd.7 (4) | | | ft{}: 0xa-0xd.7 (4) 0x00| 01 | . | n: 1 0xa-0xa.7 (1) | | | x[0:1]: 0xb-0xd.7 (3) | | | [0]{}: ft 0xb-0xd.7 (3) 0x00| 60 | ` | tag: 0x60 (valid) 0xb-0xb.7 (1) | | | rt1{}: 0xc-0xc.7 (1) 0x00| 00 | . | n: 0 0xc-0xc.7 (1) | | | x[0:0]: 0xd-NA (0) | | | rt2{}: 0xd-0xd.7 (1) 0x00| 00 | . | n: 0 0xd-0xd.7 (1) | | | x[0:0]: 0xe-NA (0) | | | [1]{}: section 0xe-0x23.7 (22) 0x00| 02 | . | id: "import section" (2) 0xe-0xe.7 (1) 0x00| 14| .| size: 20 0xf-0xf.7 (1) | | | content{}: 0x10-0x23.7 (20) | | | im{}: 0x10-0x23.7 (20) 0x10|01 |. | n: 1 0x10-0x10.7 (1) | | | x[0:1]: 0x11-0x23.7 (19) | | | [0]{}: im 0x11-0x23.7 (19) | | | mod{}: 0x11-0x19.7 (9) 0x10| 08 | . | n: 8 0x11-0x11.7 (1) 0x10| 73 70 65 63 74 65 73 74 | spectest | b: "spectest" 0x12-0x19.7 (8) | | | nm{}: 0x1a-0x1f.7 (6) 0x10| 05 | . | n: 5 0x1a-0x1a.7 (1) 0x10| 74 61 62 6c 65| table| b: "table" 0x1b-0x1f.7 (5) | | | d{}: 0x20-0x23.7 (4) 0x20|01 |. | tag: "table" (0x1) 0x20-0x20.7 (1) | | | tt{}: 0x21-0x23.7 (3) 0x20| 70 | p | et: "funcref" (112) 0x21-0x21.7 (1) | | | lim{}: 0x22-0x23.7 (2) 0x20| 00 | . | tag: 0x0 0x22-0x22.7 (1) 0x20| 0a | . | n: 10 0x23-0x23.7 (1) | | | [2]{}: section 0x24-0x27.7 (4) 0x20| 03 | . | id: "function section" (3) 0x24-0x24.7 (1) 0x20| 02 | . | size: 2 0x25-0x25.7 (1) | | | content{}: 0x26-0x27.7 (2) | | | x{}: 0x26-0x27.7 (2) 0x20| 01 | . | n: 1 0x26-0x26.7 (1) | | | x[0:1]: 0x27-0x27.7 (1) 0x20| 00 | . | [0]: 0 x 0x27-0x27.7 (1) | | | [3]{}: section 0x28-0x48.7 (33) 0x20| 09 | . | id: "element section" (9) 0x28-0x28.7 (1) 0x20| 1f | . | size: 31 0x29-0x29.7 (1) | | | element{}: 0x2a-0x48.7 (31) | | | seg{}: 0x2a-0x48.7 (31) 0x20| 05 | . | n: 5 0x2a-0x2a.7 (1) | | | x[0:5]: 0x2b-0x48.7 (30) | | | [0]{}: seg 0x2b-0x30.7 (6) 0x20| 00 | . | tag: 0 0x2b-0x2b.7 (1) | | | e[0:2]: 0x2c-0x2e.7 (3) | | | [0]{}: in 0x2c-0x2d.7 (2) 0x20| 41 | A | i32.const: 0x41 (valid) 0x2c-0x2c.7 (1) 0x20| 09 | . | n: 9 0x2d-0x2d.7 (1) | | | [1]{}: in 0x2e-0x2e.7 (1) 0x20| 0b | . | end: 0xb (valid) 0x2e-0x2e.7 (1) | | | y{}: 0x2f-0x30.7 (2) 0x20| 01| .| n: 1 0x2f-0x2f.7 (1) | | | x[0:1]: 0x30-0x30.7 (1) 0x30|00 |. | [0]: 0 y 0x30-0x30.7 (1) | | | [1]{}: seg 0x31-0x36.7 (6) 0x30| 00 | . | tag: 0 0x31-0x31.7 (1) | | | e[0:2]: 0x32-0x34.7 (3) | | | [0]{}: in 0x32-0x33.7 (2) 0x30| 41 | A | i32.const: 0x41 (valid) 0x32-0x32.7 (1) 0x30| 03 | . | n: 3 0x33-0x33.7 (1) | | | [1]{}: in 0x34-0x34.7 (1) 0x30| 0b | . | end: 0xb (valid) 0x34-0x34.7 (1) | | | y{}: 0x35-0x36.7 (2) 0x30| 01 | . | n: 1 0x35-0x35.7 (1) | | | x[0:1]: 0x36-0x36.7 (1) 0x30| 00 | . | [0]: 0 y 0x36-0x36.7 (1) | | | [2]{}: seg 0x37-0x3c.7 (6) 0x30| 00 | . | tag: 0 0x37-0x37.7 (1) | | | e[0:2]: 0x38-0x3a.7 (3) | | | [0]{}: in 0x38-0x39.7 (2) 0x30| 41 | A | i32.const: 0x41 (valid) 0x38-0x38.7 (1) 0x30| 07 | . | n: 7 0x39-0x39.7 (1) | | | [1]{}: in 0x3a-0x3a.7 (1) 0x30| 0b | . | end: 0xb (valid) 0x3a-0x3a.7 (1) | | | y{}: 0x3b-0x3c.7 (2) 0x30| 01 | . | n: 1 0x3b-0x3b.7 (1) | | | x[0:1]: 0x3c-0x3c.7 (1) 0x30| 00 | . | [0]: 0 y 0x3c-0x3c.7 (1) | | | [3]{}: seg 0x3d-0x42.7 (6) 0x30| 00 | . | tag: 0 0x3d-0x3d.7 (1) | | | e[0:2]: 0x3e-0x40.7 (3) | | | [0]{}: in 0x3e-0x3f.7 (2) 0x30| 41 | A | i32.const: 0x41 (valid) 0x3e-0x3e.7 (1) 0x30| 03| .| n: 3 0x3f-0x3f.7 (1) | | | [1]{}: in 0x40-0x40.7 (1) 0x40|0b |. | end: 0xb (valid) 0x40-0x40.7 (1) | | | y{}: 0x41-0x42.7 (2) 0x40| 01 | . | n: 1 0x41-0x41.7 (1) | | | x[0:1]: 0x42-0x42.7 (1) 0x40| 00 | . | [0]: 0 y 0x42-0x42.7 (1) | | | [4]{}: seg 0x43-0x48.7 (6) 0x40| 00 | . | tag: 0 0x43-0x43.7 (1) | | | e[0:2]: 0x44-0x46.7 (3) | | | [0]{}: in 0x44-0x45.7 (2) 0x40| 41 | A | i32.const: 0x41 (valid) 0x44-0x44.7 (1) 0x40| 05 | . | n: 5 0x45-0x45.7 (1) | | | [1]{}: in 0x46-0x46.7 (1) 0x40| 0b | . | end: 0xb (valid) 0x46-0x46.7 (1) | | | y{}: 0x47-0x48.7 (2) 0x40| 01 | . | n: 1 0x47-0x47.7 (1) | | | x[0:1]: 0x48-0x48.7 (1) 0x40| 00 | . | [0]: 0 y 0x48-0x48.7 (1) | | | [4]{}: section 0x49-0x4e.7 (6) 0x40| 0a | . | id: "code section" (10) 0x49-0x49.7 (1) 0x40| 04 | . | size: 4 0x4a-0x4a.7 (1) | | | content{}: 0x4b-0x4e.7 (4) | | | code{}: 0x4b-0x4e.7 (4) 0x40| 01 | . | n: 1 0x4b-0x4b.7 (1) | | | x[0:1]: 0x4c-0x4e.7 (3) | | | [0]{}: code 0x4c-0x4e.7 (3) 0x40| 02 | . | size: 2 0x4c-0x4c.7 (1) | | | code{}: 0x4d-0x4e.7 (2) | | | t{}: 0x4d-0x4d.7 (1) 0x40| 00 | . | n: 0 0x4d-0x4d.7 (1) | | | x[0:0]: 0x4e-NA (0) | | | e[0:1]: 0x4e-0x4e.7 (1) | | | [0]{}: in 0x4e-0x4e.7 (1) 0x40| 0b| | .|| end: 0xb (valid) 0x4e-0x4e.7 (1)