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-17.fqtest
2022-08-18 21:40:30 +09:00

35 lines
3.5 KiB
Plaintext

$ fq -d wasm dv binary-17.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: binary-17.wasm (wasm) 0x0-0x14.7 (21)
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-0x14.7 (13)
| | | [0]{}: section 0x8-0xc.7 (5)
0x00| 05 | . | id: "memory section" (5) 0x8-0x8.7 (1)
0x00| 03 | . | size: 3 0x9-0x9.7 (1)
| | | content{}: 0xa-0xc.7 (3)
| | | mem{}: 0xa-0xc.7 (3)
0x00| 01 | . | n: 1 0xa-0xa.7 (1)
| | | x[0:1]: 0xb-0xc.7 (2)
| | | [0]{}: mem 0xb-0xc.7 (2)
| | | lim{}: 0xb-0xc.7 (2)
0x00| 00 | . | tag: 0x0 0xb-0xb.7 (1)
0x00| 00 | . | n: 0 0xc-0xc.7 (1)
| | | [1]{}: section 0xd-0x14.7 (8)
0x00| 0b | . | id: "data section" (11) 0xd-0xd.7 (1)
0x00| 06 | . | size: 6 0xe-0xe.7 (1)
| | | content{}: 0xf-0x14.7 (6)
| | | seg{}: 0xf-0x14.7 (6)
0x00| 01| .| n: 1 0xf-0xf.7 (1)
| | | x[0:1]: 0x10-0x14.7 (5)
| | | [0]{}: seg 0x10-0x14.7 (5)
0x10|00 |. | tag: 0 0x10-0x10.7 (1)
| | | e[0:2]: 0x11-0x13.7 (3)
| | | [0]{}: in 0x11-0x12.7 (2)
0x10| 41 | A | i32.const: 0x41 (valid) 0x11-0x11.7 (1)
0x10| 00 | . | n: 0 0x12-0x12.7 (1)
| | | [1]{}: in 0x13-0x13.7 (1)
0x10| 0b | . | end: 0xb (valid) 0x13-0x13.7 (1)
| | | b{}: 0x14-0x14.7 (1)
0x10| 00| | .| | n: 0 0x14-0x14.7 (1)
| | | x: raw bits 0x15-NA (0)