mirror of
https://github.com/wader/fq.git
synced 2024-12-25 22:34:14 +03:00
59 lines
6.0 KiB
Plaintext
59 lines
6.0 KiB
Plaintext
$ fq -d wasm dv data-22.wasm
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: data-22.wasm (wasm) 0x0-0x3e.7 (63)
|
|
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-0x3e.7 (55)
|
|
| | | [0]{}: section 0x8-0x35.7 (46)
|
|
0x00| 02 | . | id: "import_section" (2) 0x8-0x8.7 (1)
|
|
0x00| 2c | , | size: 44 0x9-0x9.7 (1)
|
|
| | | content{}: 0xa-0x35.7 (44)
|
|
| | | im{}: 0xa-0x35.7 (44)
|
|
0x00| 02 | . | n: 2 0xa-0xa.7 (1)
|
|
| | | x[0:2]: 0xb-0x35.7 (43)
|
|
| | | [0]{}: im 0xb-0x21.7 (23)
|
|
| | | 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-0x1e.7 (11)
|
|
0x10| 0a | . | n: 10 0x14-0x14.7 (1)
|
|
0x10| 67 6c 6f 62 61 6c 5f 69 33 32 | global_i32 | b: "global_i32" 0x15-0x1e.7 (10)
|
|
| | | d{}: 0x1f-0x21.7 (3)
|
|
0x10| 03| .| tag: "global" (0x3) 0x1f-0x1f.7 (1)
|
|
| | | gt{}: 0x20-0x21.7 (2)
|
|
0x20|7f |. | t: "i32" (0x7f) 0x20-0x20.7 (1)
|
|
0x20| 00 | . | m: "const" (0) 0x21-0x21.7 (1)
|
|
| | | [1]{}: im 0x22-0x35.7 (20)
|
|
| | | mod{}: 0x22-0x2a.7 (9)
|
|
0x20| 08 | . | n: 8 0x22-0x22.7 (1)
|
|
0x20| 73 70 65 63 74 65 73 74 | spectest | b: "spectest" 0x23-0x2a.7 (8)
|
|
| | | nm{}: 0x2b-0x31.7 (7)
|
|
0x20| 06 | . | n: 6 0x2b-0x2b.7 (1)
|
|
0x20| 6d 65 6d 6f| memo| b: "memory" 0x2c-0x31.7 (6)
|
|
0x30|72 79 |ry |
|
|
| | | d{}: 0x32-0x35.7 (4)
|
|
0x30| 02 | . | tag: "mem" (0x2) 0x32-0x32.7 (1)
|
|
| | | mt{}: 0x33-0x35.7 (3)
|
|
| | | lim{}: 0x33-0x35.7 (3)
|
|
0x30| 01 | . | tag: 0x1 0x33-0x33.7 (1)
|
|
0x30| 00 | . | n: 0 0x34-0x34.7 (1)
|
|
0x30| 03 | . | m: 3 0x35-0x35.7 (1)
|
|
| | | [1]{}: section 0x36-0x3e.7 (9)
|
|
0x30| 0b | . | id: "data_section" (11) 0x36-0x36.7 (1)
|
|
0x30| 07 | . | size: 7 0x37-0x37.7 (1)
|
|
| | | content{}: 0x38-0x3e.7 (7)
|
|
| | | seg{}: 0x38-0x3e.7 (7)
|
|
0x30| 01 | . | n: 1 0x38-0x38.7 (1)
|
|
| | | x[0:1]: 0x39-0x3e.7 (6)
|
|
| | | [0]{}: seg 0x39-0x3e.7 (6)
|
|
0x30| 00 | . | tag: 0 0x39-0x39.7 (1)
|
|
| | | e[0:2]: 0x3a-0x3c.7 (3)
|
|
| | | [0]{}: in 0x3a-0x3b.7 (2)
|
|
0x30| 23 | # | opcode: "global.get" (0x23) (valid) 0x3a-0x3a.7 (1)
|
|
0x30| 00 | . | x: 0 0x3b-0x3b.7 (1)
|
|
| | | [1]{}: in 0x3c-0x3c.7 (1)
|
|
0x30| 0b | . | opcode: "end" (0xb) (valid) 0x3c-0x3c.7 (1)
|
|
| | | b{}: 0x3d-0x3e.7 (2)
|
|
0x30| 01 | . | n: 1 0x3d-0x3d.7 (1)
|
|
0x30| 61| | a|| x: raw bits 0x3e-0x3e.7 (1)
|