1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00
fq/format/wasm/testdata/core/binary-leb128-25.fqtest
2022-08-19 18:47:50 +09:00

67 lines
7.3 KiB
Plaintext

$ fq -d wasm dv binary-leb128-25.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: binary-leb128-25.wasm (wasm) 0x0-0x24.7 (37)
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:3]: 0x8-0x24.7 (29)
| | | [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-0x11.7 (4)
0x00| 03 | . | id: "function_section" (3) 0xe-0xe.7 (1)
0x00| 02| .| size: 2 0xf-0xf.7 (1)
| | | content{}: 0x10-0x11.7 (2)
| | | x{}: 0x10-0x11.7 (2)
0x10|01 |. | n: 1 0x10-0x10.7 (1)
| | | x[0:1]: 0x11-0x11.7 (1)
0x10| 00 | . | [0]: 0 x 0x11-0x11.7 (1)
| | | [2]{}: section 0x12-0x24.7 (19)
0x10| 0a | . | id: "code_section" (10) 0x12-0x12.7 (1)
0x10| 11 | . | size: 17 0x13-0x13.7 (1)
| | | content{}: 0x14-0x24.7 (17)
| | | code{}: 0x14-0x24.7 (17)
0x10| 01 | . | n: 1 0x14-0x14.7 (1)
| | | x[0:1]: 0x15-0x24.7 (16)
| | | [0]{}: code 0x15-0x24.7 (16)
0x10| 0f | . | size: 15 0x15-0x15.7 (1)
| | | code{}: 0x16-0x24.7 (15)
| | | t{}: 0x16-0x16.7 (1)
0x10| 00 | . | n: 0 0x16-0x16.7 (1)
| | | x[0:0]: 0x17-NA (0)
| | | e[0:10]: 0x17-0x24.7 (14)
| | | [0]{}: in 0x17-0x17.7 (1)
0x10| 00 | . | opcode: "unreachable" (0x0) (valid) 0x17-0x17.7 (1)
| | | [1]{}: in 0x18-0x19.7 (2)
0x10| fc | . | prefix: 0xfc (valid) 0x18-0x18.7 (1)
0x10| 00 | . | opcode: "i32.trunc_sat_f32_s" (0) (valid) 0x19-0x19.7 (1)
| | | [2]{}: in 0x1a-0x1a.7 (1)
0x10| 00 | . | opcode: "unreachable" (0x0) (valid) 0x1a-0x1a.7 (1)
| | | [3]{}: in 0x1b-0x1c.7 (2)
0x10| fc | . | prefix: 0xfc (valid) 0x1b-0x1b.7 (1)
0x10| 01 | . | opcode: "i32.trunc_sat_f32_u" (1) (valid) 0x1c-0x1c.7 (1)
| | | [4]{}: in 0x1d-0x1d.7 (1)
0x10| 00 | . | opcode: "unreachable" (0x0) (valid) 0x1d-0x1d.7 (1)
| | | [5]{}: in 0x1e-0x1f.7 (2)
0x10| fc | . | prefix: 0xfc (valid) 0x1e-0x1e.7 (1)
0x10| 06| .| opcode: "i64.trunc_sat_f64_s" (6) (valid) 0x1f-0x1f.7 (1)
| | | [6]{}: in 0x20-0x20.7 (1)
0x20|00 |. | opcode: "unreachable" (0x0) (valid) 0x20-0x20.7 (1)
| | | [7]{}: in 0x21-0x22.7 (2)
0x20| fc | . | prefix: 0xfc (valid) 0x21-0x21.7 (1)
0x20| 07 | . | opcode: "i64.trunc_sat_f64_u" (7) (valid) 0x22-0x22.7 (1)
| | | [8]{}: in 0x23-0x23.7 (1)
0x20| 00 | . | opcode: "unreachable" (0x0) (valid) 0x23-0x23.7 (1)
| | | [9]{}: in 0x24-0x24.7 (1)
0x20| 0b| | .| | opcode: "end" (0xb) (valid) 0x24-0x24.7 (1)