1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 07:24:48 +03:00
fq/format/wasm/testdata/core/data-24.fqtest
2022-08-19 18:47:50 +09:00

46 lines
4.7 KiB
Plaintext

$ fq -d wasm dv data-24.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: data-24.wasm (wasm) 0x0-0x27.7 (40)
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-0x27.7 (32)
| | | [0]{}: section 0x8-0x1e.7 (23)
0x00| 02 | . | id: "import_section" (2) 0x8-0x8.7 (1)
0x00| 15 | . | size: 21 0x9-0x9.7 (1)
| | | content{}: 0xa-0x1e.7 (21)
| | | im{}: 0xa-0x1e.7 (21)
0x00| 01 | . | n: 1 0xa-0xa.7 (1)
| | | x[0:1]: 0xb-0x1e.7 (20)
| | | [0]{}: im 0xb-0x1e.7 (20)
| | | mod{}: 0xb-0x13.7 (9)
0x00| 08 | . | n: 8 0xb-0xb.7 (1)
0x00| 73 70 65 63| spec| b: "spectest" 0xc-0x13.7 (8)
0x10|74 65 73 74 |test |
| | | nm{}: 0x14-0x1a.7 (7)
0x10| 06 | . | n: 6 0x14-0x14.7 (1)
0x10| 6d 65 6d 6f 72 79 | memory | b: "memory" 0x15-0x1a.7 (6)
| | | d{}: 0x1b-0x1e.7 (4)
0x10| 02 | . | tag: "mem" (0x2) 0x1b-0x1b.7 (1)
| | | mt{}: 0x1c-0x1e.7 (3)
| | | lim{}: 0x1c-0x1e.7 (3)
0x10| 01 | . | tag: 0x1 0x1c-0x1c.7 (1)
0x10| 00 | . | n: 0 0x1d-0x1d.7 (1)
0x10| 03 | . | m: 3 0x1e-0x1e.7 (1)
| | | [1]{}: section 0x1f-0x27.7 (9)
0x10| 0b| .| id: "data_section" (11) 0x1f-0x1f.7 (1)
0x20|07 |. | size: 7 0x20-0x20.7 (1)
| | | content{}: 0x21-0x27.7 (7)
| | | seg{}: 0x21-0x27.7 (7)
0x20| 01 | . | n: 1 0x21-0x21.7 (1)
| | | x[0:1]: 0x22-0x27.7 (6)
| | | [0]{}: seg 0x22-0x27.7 (6)
0x20| 00 | . | tag: 0 0x22-0x22.7 (1)
| | | e[0:2]: 0x23-0x25.7 (3)
| | | [0]{}: in 0x23-0x24.7 (2)
0x20| 41 | A | opcode: "i32.const" (0x41) (valid) 0x23-0x23.7 (1)
0x20| 01 | . | n: 1 0x24-0x24.7 (1)
| | | [1]{}: in 0x25-0x25.7 (1)
0x20| 0b | . | opcode: "end" (0xb) (valid) 0x25-0x25.7 (1)
| | | b{}: 0x26-0x27.7 (2)
0x20| 01 | . | n: 1 0x26-0x26.7 (1)
0x20| 61| | a| | x: raw bits 0x27-0x27.7 (1)