1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00
fq/format/wasm/testdata/core/global-2.fqtest
2022-08-18 21:40:30 +09:00

38 lines
3.8 KiB
Plaintext

$ fq -d wasm dv global-2.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: global-2.wasm (wasm) 0x0-0x19.7 (26)
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-0x19.7 (18)
| | | [0]{}: section 0x8-0x12.7 (11)
0x00| 06 | . | id: "global section" (6) 0x8-0x8.7 (1)
0x00| 09 | . | size: 9 0x9-0x9.7 (1)
| | | content{}: 0xa-0x12.7 (9)
| | | glob{}: 0xa-0x12.7 (9)
0x00| 01 | . | n: 1 0xa-0xa.7 (1)
| | | x[0:1]: 0xb-0x12.7 (8)
| | | [0]{}: glob 0xb-0x12.7 (8)
| | | gt{}: 0xb-0xc.7 (2)
0x00| 7d | } | t: "f32" (0x7d) 0xb-0xb.7 (1)
0x00| 01 | . | m: "var" (1) 0xc-0xc.7 (1)
| | | e[0:2]: 0xd-0x12.7 (6)
| | | [0]{}: in 0xd-0x11.7 (5)
0x00| 43 | C | f32.const: 0x43 (valid) 0xd-0xd.7 (1)
0x00| 00 00| ..| z: 0 0xe-0x11.7 (4)
0x10|00 00 |.. |
| | | [1]{}: in 0x12-0x12.7 (1)
0x10| 0b | . | end: 0xb (valid) 0x12-0x12.7 (1)
| | | [1]{}: section 0x13-0x19.7 (7)
0x10| 07 | . | id: "export section" (7) 0x13-0x13.7 (1)
0x10| 05 | . | size: 5 0x14-0x14.7 (1)
| | | content{}: 0x15-0x19.7 (5)
| | | ex{}: 0x15-0x19.7 (5)
0x10| 01 | . | n: 1 0x15-0x15.7 (1)
| | | x[0:1]: 0x16-0x19.7 (4)
| | | [0]{}: ex 0x16-0x19.7 (4)
| | | nm{}: 0x16-0x17.7 (2)
0x10| 01 | . | n: 1 0x16-0x16.7 (1)
0x10| 61 | a | b: "a" 0x17-0x17.7 (1)
| | | d{}: 0x18-0x19.7 (2)
0x10| 03 | . | tag: "globalidx" (0x3) 0x18-0x18.7 (1)
0x10| 00| | .| | x: 0 0x19-0x19.7 (1)