mirror of
https://github.com/wader/fq.git
synced 2024-12-25 22:34:14 +03:00
70 lines
7.2 KiB
Plaintext
70 lines
7.2 KiB
Plaintext
$ fq -d wasm dv custom-2.wasm
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: custom-2.wasm (wasm) 0x0-0x2b.7 (44)
|
|
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:4]: 0x8-0x2b.7 (36)
|
|
| | | [0]{}: section 0x8-0x10.7 (9)
|
|
0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1)
|
|
0x00| 07 | . | size: 7 0x9-0x9.7 (1)
|
|
| | | content{}: 0xa-0x10.7 (7)
|
|
| | | ft{}: 0xa-0x10.7 (7)
|
|
0x00| 01 | . | n: 1 0xa-0xa.7 (1)
|
|
| | | x[0:1]: 0xb-0x10.7 (6)
|
|
| | | [0]{}: ft 0xb-0x10.7 (6)
|
|
0x00| 60 | ` | tag: 0x60 (valid) 0xb-0xb.7 (1)
|
|
| | | rt1{}: 0xc-0xe.7 (3)
|
|
0x00| 02 | . | n: 2 0xc-0xc.7 (1)
|
|
| | | x[0:2]: 0xd-0xe.7 (2)
|
|
0x00| 7f | . | [0]: "i32" (0x7f) t 0xd-0xd.7 (1)
|
|
0x00| 7f | . | [1]: "i32" (0x7f) t 0xe-0xe.7 (1)
|
|
| | | rt2{}: 0xf-0x10.7 (2)
|
|
0x00| 01| .| n: 1 0xf-0xf.7 (1)
|
|
| | | x[0:1]: 0x10-0x10.7 (1)
|
|
0x10|7f |. | [0]: "i32" (0x7f) t 0x10-0x10.7 (1)
|
|
| | | [1]{}: section 0x11-0x14.7 (4)
|
|
0x10| 03 | . | id: "function section" (3) 0x11-0x11.7 (1)
|
|
0x10| 02 | . | size: 2 0x12-0x12.7 (1)
|
|
| | | content{}: 0x13-0x14.7 (2)
|
|
| | | x{}: 0x13-0x14.7 (2)
|
|
0x10| 01 | . | n: 1 0x13-0x13.7 (1)
|
|
| | | x[0:1]: 0x14-0x14.7 (1)
|
|
0x10| 00 | . | [0]: 0 x 0x14-0x14.7 (1)
|
|
| | | [2]{}: section 0x15-0x20.7 (12)
|
|
0x10| 07 | . | id: "export section" (7) 0x15-0x15.7 (1)
|
|
0x10| 0a | . | size: 10 0x16-0x16.7 (1)
|
|
| | | content{}: 0x17-0x20.7 (10)
|
|
| | | ex{}: 0x17-0x20.7 (10)
|
|
0x10| 01 | . | n: 1 0x17-0x17.7 (1)
|
|
| | | x[0:1]: 0x18-0x20.7 (9)
|
|
| | | [0]{}: ex 0x18-0x20.7 (9)
|
|
| | | nm{}: 0x18-0x1e.7 (7)
|
|
0x10| 06 | . | n: 6 0x18-0x18.7 (1)
|
|
0x10| 61 64 64 54 77 6f | addTwo | b: "addTwo" 0x19-0x1e.7 (6)
|
|
| | | d{}: 0x1f-0x20.7 (2)
|
|
0x10| 00| .| tag: "funcidx" (0x0) 0x1f-0x1f.7 (1)
|
|
0x20|00 |. | x: 0 0x20-0x20.7 (1)
|
|
| | | [3]{}: section 0x21-0x2b.7 (11)
|
|
0x20| 0a | . | id: "code section" (10) 0x21-0x21.7 (1)
|
|
0x20| 09 | . | size: 9 0x22-0x22.7 (1)
|
|
| | | content{}: 0x23-0x2b.7 (9)
|
|
| | | code{}: 0x23-0x2b.7 (9)
|
|
0x20| 01 | . | n: 1 0x23-0x23.7 (1)
|
|
| | | x[0:1]: 0x24-0x2b.7 (8)
|
|
| | | [0]{}: code 0x24-0x2b.7 (8)
|
|
0x20| 07 | . | size: 7 0x24-0x24.7 (1)
|
|
| | | code{}: 0x25-0x2b.7 (7)
|
|
| | | t{}: 0x25-0x25.7 (1)
|
|
0x20| 00 | . | n: 0 0x25-0x25.7 (1)
|
|
| | | x[0:0]: 0x26-NA (0)
|
|
| | | e[0:4]: 0x26-0x2b.7 (6)
|
|
| | | [0]{}: in 0x26-0x27.7 (2)
|
|
0x20| 20 | | local.get: 0x20 (valid) 0x26-0x26.7 (1)
|
|
0x20| 00 | . | x: 0 0x27-0x27.7 (1)
|
|
| | | [1]{}: in 0x28-0x29.7 (2)
|
|
0x20| 20 | | local.get: 0x20 (valid) 0x28-0x28.7 (1)
|
|
0x20| 01 | . | x: 1 0x29-0x29.7 (1)
|
|
| | | [2]{}: in 0x2a-0x2a.7 (1)
|
|
0x20| 6a | j | i32.add: 0x6a (valid) 0x2a-0x2a.7 (1)
|
|
| | | [3]{}: in 0x2b-0x2b.7 (1)
|
|
0x20| 0b| | .| | end: 0xb (valid) 0x2b-0x2b.7 (1)
|