$ fq -d wasm dv binary-leb128-11.wasm |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: binary-leb128-11.wasm (wasm) 0x0-0x26.7 (39) 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:2]: 0x8-0x26.7 (31) | | | [0]{}: section 0x8-0xe.7 (7) 0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1) 0x00| 05 | . | size: 5 0x9-0x9.7 (1) | | | content{}: 0xa-0xe.7 (5) | | | ft{}: 0xa-0xe.7 (5) 0x00| 01 | . | n: 1 0xa-0xa.7 (1) | | | x[0:1]: 0xb-0xe.7 (4) | | | [0]{}: ft 0xb-0xe.7 (4) 0x00| 60 | ` | tag: 0x60 (valid) 0xb-0xb.7 (1) | | | rt1{}: 0xc-0xd.7 (2) 0x00| 01 | . | n: 1 0xc-0xc.7 (1) | | | x[0:1]: 0xd-0xd.7 (1) 0x00| 7f | . | [0]: "i32" (0x7f) t 0xd-0xd.7 (1) | | | rt2{}: 0xe-0xe.7 (1) 0x00| 00 | . | n: 0 0xe-0xe.7 (1) | | | x[0:0]: 0xf-NA (0) | | | [1]{}: section 0xf-0x26.7 (24) 0x00| 02| .| id: "import section" (2) 0xf-0xf.7 (1) 0x10|16 |. | size: 22 0x10-0x10.7 (1) | | | content{}: 0x11-0x26.7 (22) | | | im{}: 0x11-0x26.7 (22) 0x10| 01 | . | n: 1 0x11-0x11.7 (1) | | | x[0:1]: 0x12-0x26.7 (21) | | | [0]{}: im 0x12-0x26.7 (21) | | | mod{}: 0x12-0x1a.7 (9) 0x10| 08 | . | n: 8 0x12-0x12.7 (1) 0x10| 73 70 65 63 74 65 73 74 | spectest | b: "spectest" 0x13-0x1a.7 (8) | | | nm{}: 0x1b-0x24.7 (10) 0x10| 09 | . | n: 9 0x1b-0x1b.7 (1) 0x10| 70 72 69 6e| prin| b: "print_i32" 0x1c-0x24.7 (9) 0x20|74 5f 69 33 32 |t_i32 | | | | d{}: 0x25-0x26.7 (2) 0x20| 00 | . | tag: "func" (0x0) 0x25-0x25.7 (1) 0x20| 00| | .| | x: 0 0x26-0x26.7 (1)