mirror of
https://github.com/wader/fq.git
synced 2024-12-25 22:34:14 +03:00
171 lines
18 KiB
Plaintext
171 lines
18 KiB
Plaintext
$ fq -d wasm dv start-0.wasm
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: start-0.wasm (wasm) 0x0-0x5d.7 (94)
|
|
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:7]: 0x8-0x5d.7 (86)
|
|
| | | [0]{}: section 0x8-0x11.7 (10)
|
|
0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1)
|
|
0x00| 08 | . | size: 8 0x9-0x9.7 (1)
|
|
| | | content{}: 0xa-0x11.7 (8)
|
|
| | | ft{}: 0xa-0x11.7 (8)
|
|
0x00| 02 | . | n: 2 0xa-0xa.7 (1)
|
|
| | | x[0:2]: 0xb-0x11.7 (7)
|
|
| | | [0]{}: ft 0xb-0xd.7 (3)
|
|
0x00| 60 | ` | tag: 0x60 (valid) 0xb-0xb.7 (1)
|
|
| | | rt1{}: 0xc-0xc.7 (1)
|
|
0x00| 00 | . | n: 0 0xc-0xc.7 (1)
|
|
| | | x[0:0]: 0xd-NA (0)
|
|
| | | rt2{}: 0xd-0xd.7 (1)
|
|
0x00| 00 | . | n: 0 0xd-0xd.7 (1)
|
|
| | | x[0:0]: 0xe-NA (0)
|
|
| | | [1]{}: ft 0xe-0x11.7 (4)
|
|
0x00| 60 | ` | tag: 0x60 (valid) 0xe-0xe.7 (1)
|
|
| | | rt1{}: 0xf-0xf.7 (1)
|
|
0x00| 00| .| n: 0 0xf-0xf.7 (1)
|
|
| | | x[0:0]: 0x10-NA (0)
|
|
| | | rt2{}: 0x10-0x11.7 (2)
|
|
0x10|01 |. | n: 1 0x10-0x10.7 (1)
|
|
| | | x[0:1]: 0x11-0x11.7 (1)
|
|
0x10| 7f | . | [0]: "i32" (0x7f) t 0x11-0x11.7 (1)
|
|
| | | [1]{}: section 0x12-0x17.7 (6)
|
|
0x10| 03 | . | id: "function section" (3) 0x12-0x12.7 (1)
|
|
0x10| 04 | . | size: 4 0x13-0x13.7 (1)
|
|
| | | content{}: 0x14-0x17.7 (4)
|
|
| | | x{}: 0x14-0x17.7 (4)
|
|
0x10| 03 | . | n: 3 0x14-0x14.7 (1)
|
|
| | | x[0:3]: 0x15-0x17.7 (3)
|
|
0x10| 00 | . | [0]: 0 x 0x15-0x15.7 (1)
|
|
0x10| 01 | . | [1]: 1 x 0x16-0x16.7 (1)
|
|
0x10| 00 | . | [2]: 0 x 0x17-0x17.7 (1)
|
|
| | | [2]{}: section 0x18-0x1d.7 (6)
|
|
0x10| 05 | . | id: "memory section" (5) 0x18-0x18.7 (1)
|
|
0x10| 04 | . | size: 4 0x19-0x19.7 (1)
|
|
| | | content{}: 0x1a-0x1d.7 (4)
|
|
| | | mem{}: 0x1a-0x1d.7 (4)
|
|
0x10| 01 | . | n: 1 0x1a-0x1a.7 (1)
|
|
| | | x[0:1]: 0x1b-0x1d.7 (3)
|
|
| | | [0]{}: mem 0x1b-0x1d.7 (3)
|
|
| | | lim{}: 0x1b-0x1d.7 (3)
|
|
0x10| 01 | . | tag: 0x1 0x1b-0x1b.7 (1)
|
|
0x10| 01 | . | n: 1 0x1c-0x1c.7 (1)
|
|
0x10| 01 | . | m: 1 0x1d-0x1d.7 (1)
|
|
| | | [3]{}: section 0x1e-0x2c.7 (15)
|
|
0x10| 07 | . | id: "export section" (7) 0x1e-0x1e.7 (1)
|
|
0x10| 0d| .| size: 13 0x1f-0x1f.7 (1)
|
|
| | | content{}: 0x20-0x2c.7 (13)
|
|
| | | ex{}: 0x20-0x2c.7 (13)
|
|
0x20|02 |. | n: 2 0x20-0x20.7 (1)
|
|
| | | x[0:2]: 0x21-0x2c.7 (12)
|
|
| | | [0]{}: ex 0x21-0x26.7 (6)
|
|
| | | nm{}: 0x21-0x24.7 (4)
|
|
0x20| 03 | . | n: 3 0x21-0x21.7 (1)
|
|
0x20| 69 6e 63 | inc | b: "inc" 0x22-0x24.7 (3)
|
|
| | | d{}: 0x25-0x26.7 (2)
|
|
0x20| 00 | . | tag: "funcidx" (0x0) 0x25-0x25.7 (1)
|
|
0x20| 00 | . | x: 0 0x26-0x26.7 (1)
|
|
| | | [1]{}: ex 0x27-0x2c.7 (6)
|
|
| | | nm{}: 0x27-0x2a.7 (4)
|
|
0x20| 03 | . | n: 3 0x27-0x27.7 (1)
|
|
0x20| 67 65 74 | get | b: "get" 0x28-0x2a.7 (3)
|
|
| | | d{}: 0x2b-0x2c.7 (2)
|
|
0x20| 00 | . | tag: "funcidx" (0x0) 0x2b-0x2b.7 (1)
|
|
0x20| 01 | . | x: 1 0x2c-0x2c.7 (1)
|
|
| | | [4]{}: section 0x2d-0x2f.7 (3)
|
|
0x20| 08 | . | id: "start section" (8) 0x2d-0x2d.7 (1)
|
|
0x20| 01 | . | size: 1 0x2e-0x2e.7 (1)
|
|
| | | content{}: 0x2f-0x2f.7 (1)
|
|
| | | st{}: 0x2f-0x2f.7 (1)
|
|
0x20| 02| .| x: 2 0x2f-0x2f.7 (1)
|
|
| | | [5]{}: section 0x30-0x54.7 (37)
|
|
0x30|0a |. | id: "code section" (10) 0x30-0x30.7 (1)
|
|
0x30| 23 | # | size: 35 0x31-0x31.7 (1)
|
|
| | | content{}: 0x32-0x54.7 (35)
|
|
| | | code{}: 0x32-0x54.7 (35)
|
|
0x30| 03 | . | n: 3 0x32-0x32.7 (1)
|
|
| | | x[0:3]: 0x33-0x54.7 (34)
|
|
| | | [0]{}: code 0x33-0x42.7 (16)
|
|
0x30| 0f | . | size: 15 0x33-0x33.7 (1)
|
|
| | | code{}: 0x34-0x42.7 (15)
|
|
| | | t{}: 0x34-0x34.7 (1)
|
|
0x30| 00 | . | n: 0 0x34-0x34.7 (1)
|
|
| | | x[0:0]: 0x35-NA (0)
|
|
| | | e[0:7]: 0x35-0x42.7 (14)
|
|
| | | [0]{}: in 0x35-0x36.7 (2)
|
|
0x30| 41 | A | i32.const: 0x41 (valid) 0x35-0x35.7 (1)
|
|
0x30| 00 | . | n: 0 0x36-0x36.7 (1)
|
|
| | | [1]{}: in 0x37-0x38.7 (2)
|
|
0x30| 41 | A | i32.const: 0x41 (valid) 0x37-0x37.7 (1)
|
|
0x30| 00 | . | n: 0 0x38-0x38.7 (1)
|
|
| | | [2]{}: in 0x39-0x3b.7 (3)
|
|
0x30| 2d | - | i32.load8_u: 0x2d (valid) 0x39-0x39.7 (1)
|
|
| | | m{}: 0x3a-0x3b.7 (2)
|
|
0x30| 00 | . | a: 0 0x3a-0x3a.7 (1)
|
|
0x30| 00 | . | o: 0 0x3b-0x3b.7 (1)
|
|
| | | [3]{}: in 0x3c-0x3d.7 (2)
|
|
0x30| 41 | A | i32.const: 0x41 (valid) 0x3c-0x3c.7 (1)
|
|
0x30| 01 | . | n: 1 0x3d-0x3d.7 (1)
|
|
| | | [4]{}: in 0x3e-0x3e.7 (1)
|
|
0x30| 6a | j | i32.add: 0x6a (valid) 0x3e-0x3e.7 (1)
|
|
| | | [5]{}: in 0x3f-0x41.7 (3)
|
|
0x30| 3a| :| i32.store8: 0x3a (valid) 0x3f-0x3f.7 (1)
|
|
| | | m{}: 0x40-0x41.7 (2)
|
|
0x40|00 |. | a: 0 0x40-0x40.7 (1)
|
|
0x40| 00 | . | o: 0 0x41-0x41.7 (1)
|
|
| | | [6]{}: in 0x42-0x42.7 (1)
|
|
0x40| 0b | . | end: 0xb (valid) 0x42-0x42.7 (1)
|
|
| | | [1]{}: code 0x43-0x4b.7 (9)
|
|
0x40| 08 | . | size: 8 0x43-0x43.7 (1)
|
|
| | | code{}: 0x44-0x4b.7 (8)
|
|
| | | t{}: 0x44-0x44.7 (1)
|
|
0x40| 00 | . | n: 0 0x44-0x44.7 (1)
|
|
| | | x[0:0]: 0x45-NA (0)
|
|
| | | e[0:4]: 0x45-0x4b.7 (7)
|
|
| | | [0]{}: in 0x45-0x46.7 (2)
|
|
0x40| 41 | A | i32.const: 0x41 (valid) 0x45-0x45.7 (1)
|
|
0x40| 00 | . | n: 0 0x46-0x46.7 (1)
|
|
| | | [1]{}: in 0x47-0x49.7 (3)
|
|
0x40| 2d | - | i32.load8_u: 0x2d (valid) 0x47-0x47.7 (1)
|
|
| | | m{}: 0x48-0x49.7 (2)
|
|
0x40| 00 | . | a: 0 0x48-0x48.7 (1)
|
|
0x40| 00 | . | o: 0 0x49-0x49.7 (1)
|
|
| | | [2]{}: in 0x4a-0x4a.7 (1)
|
|
0x40| 0f | . | return: 0xf (valid) 0x4a-0x4a.7 (1)
|
|
| | | [3]{}: in 0x4b-0x4b.7 (1)
|
|
0x40| 0b | . | end: 0xb (valid) 0x4b-0x4b.7 (1)
|
|
| | | [2]{}: code 0x4c-0x54.7 (9)
|
|
0x40| 08 | . | size: 8 0x4c-0x4c.7 (1)
|
|
| | | code{}: 0x4d-0x54.7 (8)
|
|
| | | t{}: 0x4d-0x4d.7 (1)
|
|
0x40| 00 | . | n: 0 0x4d-0x4d.7 (1)
|
|
| | | x[0:0]: 0x4e-NA (0)
|
|
| | | e[0:4]: 0x4e-0x54.7 (7)
|
|
| | | [0]{}: in 0x4e-0x4f.7 (2)
|
|
0x40| 10 | . | call: 0x10 (valid) 0x4e-0x4e.7 (1)
|
|
0x40| 00| .| x: 0 0x4f-0x4f.7 (1)
|
|
| | | [1]{}: in 0x50-0x51.7 (2)
|
|
0x50|10 |. | call: 0x10 (valid) 0x50-0x50.7 (1)
|
|
0x50| 00 | . | x: 0 0x51-0x51.7 (1)
|
|
| | | [2]{}: in 0x52-0x53.7 (2)
|
|
0x50| 10 | . | call: 0x10 (valid) 0x52-0x52.7 (1)
|
|
0x50| 00 | . | x: 0 0x53-0x53.7 (1)
|
|
| | | [3]{}: in 0x54-0x54.7 (1)
|
|
0x50| 0b | . | end: 0xb (valid) 0x54-0x54.7 (1)
|
|
| | | [6]{}: section 0x55-0x5d.7 (9)
|
|
0x50| 0b | . | id: "data section" (11) 0x55-0x55.7 (1)
|
|
0x50| 07 | . | size: 7 0x56-0x56.7 (1)
|
|
| | | content{}: 0x57-0x5d.7 (7)
|
|
| | | seg{}: 0x57-0x5d.7 (7)
|
|
0x50| 01 | . | n: 1 0x57-0x57.7 (1)
|
|
| | | x[0:1]: 0x58-0x5d.7 (6)
|
|
| | | [0]{}: seg 0x58-0x5d.7 (6)
|
|
0x50| 00 | . | tag: 0 0x58-0x58.7 (1)
|
|
| | | e[0:2]: 0x59-0x5b.7 (3)
|
|
| | | [0]{}: in 0x59-0x5a.7 (2)
|
|
0x50| 41 | A | i32.const: 0x41 (valid) 0x59-0x59.7 (1)
|
|
0x50| 00 | . | n: 0 0x5a-0x5a.7 (1)
|
|
| | | [1]{}: in 0x5b-0x5b.7 (1)
|
|
0x50| 0b | . | end: 0xb (valid) 0x5b-0x5b.7 (1)
|
|
| | | b{}: 0x5c-0x5d.7 (2)
|
|
0x50| 01 | . | n: 1 0x5c-0x5c.7 (1)
|
|
0x50| 41| | A| | x: raw bits 0x5d-0x5d.7 (1)
|