mirror of
https://github.com/wader/fq.git
synced 2024-12-25 22:34:14 +03:00
165 lines
18 KiB
Plaintext
165 lines
18 KiB
Plaintext
$ fq -d wasm dv traps-0.wasm
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: traps-0.wasm (wasm) 0x0-0x91.7 (146)
|
|
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-0x91.7 (138)
|
|
| | | [0]{}: section 0x8-0x14.7 (13)
|
|
0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1)
|
|
0x00| 0b | . | size: 11 0x9-0x9.7 (1)
|
|
| | | content{}: 0xa-0x14.7 (11)
|
|
| | | ft{}: 0xa-0x14.7 (11)
|
|
0x00| 02 | . | n: 2 0xa-0xa.7 (1)
|
|
| | | x[0:2]: 0xb-0x14.7 (10)
|
|
| | | [0]{}: ft 0xb-0xf.7 (5)
|
|
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-0xf.7 (1)
|
|
0x00| 00| .| n: 0 0xf-0xf.7 (1)
|
|
| | | x[0:0]: 0x10-NA (0)
|
|
| | | [1]{}: ft 0x10-0x14.7 (5)
|
|
0x10|60 |` | tag: 0x60 (valid) 0x10-0x10.7 (1)
|
|
| | | rt1{}: 0x11-0x13.7 (3)
|
|
0x10| 02 | . | n: 2 0x11-0x11.7 (1)
|
|
| | | x[0:2]: 0x12-0x13.7 (2)
|
|
0x10| 7e | ~ | [0]: "i64" (0x7e) t 0x12-0x12.7 (1)
|
|
0x10| 7e | ~ | [1]: "i64" (0x7e) t 0x13-0x13.7 (1)
|
|
| | | rt2{}: 0x14-0x14.7 (1)
|
|
0x10| 00 | . | n: 0 0x14-0x14.7 (1)
|
|
| | | x[0:0]: 0x15-NA (0)
|
|
| | | [1]{}: section 0x15-0x1b.7 (7)
|
|
0x10| 03 | . | id: "function section" (3) 0x15-0x15.7 (1)
|
|
0x10| 05 | . | size: 5 0x16-0x16.7 (1)
|
|
| | | content{}: 0x17-0x1b.7 (5)
|
|
| | | x{}: 0x17-0x1b.7 (5)
|
|
0x10| 04 | . | n: 4 0x17-0x17.7 (1)
|
|
| | | x[0:4]: 0x18-0x1b.7 (4)
|
|
0x10| 00 | . | [0]: 0 x 0x18-0x18.7 (1)
|
|
0x10| 00 | . | [1]: 0 x 0x19-0x19.7 (1)
|
|
0x10| 01 | . | [2]: 1 x 0x1a-0x1a.7 (1)
|
|
0x10| 01 | . | [3]: 1 x 0x1b-0x1b.7 (1)
|
|
| | | [2]{}: section 0x1c-0x6a.7 (79)
|
|
0x10| 07 | . | id: "export section" (7) 0x1c-0x1c.7 (1)
|
|
0x10| 4d | M | size: 77 0x1d-0x1d.7 (1)
|
|
| | | content{}: 0x1e-0x6a.7 (77)
|
|
| | | ex{}: 0x1e-0x6a.7 (77)
|
|
0x10| 04 | . | n: 4 0x1e-0x1e.7 (1)
|
|
| | | x[0:4]: 0x1f-0x6a.7 (76)
|
|
| | | [0]{}: ex 0x1f-0x31.7 (19)
|
|
| | | nm{}: 0x1f-0x2f.7 (17)
|
|
0x10| 10| .| n: 16 0x1f-0x1f.7 (1)
|
|
0x20|6e 6f 5f 64 63 65 2e 69 33 32 2e 64 69 76 5f 73|no_dce.i32.div_s| b: "no_dce.i32.div_s" 0x20-0x2f.7 (16)
|
|
| | | d{}: 0x30-0x31.7 (2)
|
|
0x30|00 |. | tag: "funcidx" (0x0) 0x30-0x30.7 (1)
|
|
0x30| 00 | . | x: 0 0x31-0x31.7 (1)
|
|
| | | [1]{}: ex 0x32-0x44.7 (19)
|
|
| | | nm{}: 0x32-0x42.7 (17)
|
|
0x30| 10 | . | n: 16 0x32-0x32.7 (1)
|
|
0x30| 6e 6f 5f 64 63 65 2e 69 33 32 2e 64 69| no_dce.i32.di| b: "no_dce.i32.div_u" 0x33-0x42.7 (16)
|
|
0x40|76 5f 75 |v_u |
|
|
| | | d{}: 0x43-0x44.7 (2)
|
|
0x40| 00 | . | tag: "funcidx" (0x0) 0x43-0x43.7 (1)
|
|
0x40| 01 | . | x: 1 0x44-0x44.7 (1)
|
|
| | | [2]{}: ex 0x45-0x57.7 (19)
|
|
| | | nm{}: 0x45-0x55.7 (17)
|
|
0x40| 10 | . | n: 16 0x45-0x45.7 (1)
|
|
0x40| 6e 6f 5f 64 63 65 2e 69 36 34| no_dce.i64| b: "no_dce.i64.div_s" 0x46-0x55.7 (16)
|
|
0x50|2e 64 69 76 5f 73 |.div_s |
|
|
| | | d{}: 0x56-0x57.7 (2)
|
|
0x50| 00 | . | tag: "funcidx" (0x0) 0x56-0x56.7 (1)
|
|
0x50| 02 | . | x: 2 0x57-0x57.7 (1)
|
|
| | | [3]{}: ex 0x58-0x6a.7 (19)
|
|
| | | nm{}: 0x58-0x68.7 (17)
|
|
0x50| 10 | . | n: 16 0x58-0x58.7 (1)
|
|
0x50| 6e 6f 5f 64 63 65 2e| no_dce.| b: "no_dce.i64.div_u" 0x59-0x68.7 (16)
|
|
0x60|69 36 34 2e 64 69 76 5f 75 |i64.div_u |
|
|
| | | d{}: 0x69-0x6a.7 (2)
|
|
0x60| 00 | . | tag: "funcidx" (0x0) 0x69-0x69.7 (1)
|
|
0x60| 03 | . | x: 3 0x6a-0x6a.7 (1)
|
|
| | | [3]{}: section 0x6b-0x91.7 (39)
|
|
0x60| 0a | . | id: "code section" (10) 0x6b-0x6b.7 (1)
|
|
0x60| 25 | % | size: 37 0x6c-0x6c.7 (1)
|
|
| | | content{}: 0x6d-0x91.7 (37)
|
|
| | | code{}: 0x6d-0x91.7 (37)
|
|
0x60| 04 | . | n: 4 0x6d-0x6d.7 (1)
|
|
| | | x[0:4]: 0x6e-0x91.7 (36)
|
|
| | | [0]{}: code 0x6e-0x76.7 (9)
|
|
0x60| 08 | . | size: 8 0x6e-0x6e.7 (1)
|
|
| | | code{}: 0x6f-0x76.7 (8)
|
|
| | | t{}: 0x6f-0x6f.7 (1)
|
|
0x60| 00| .| n: 0 0x6f-0x6f.7 (1)
|
|
| | | x[0:0]: 0x70-NA (0)
|
|
| | | e[0:5]: 0x70-0x76.7 (7)
|
|
| | | [0]{}: in 0x70-0x71.7 (2)
|
|
0x70|20 | | local.get: 0x20 (valid) 0x70-0x70.7 (1)
|
|
0x70| 00 | . | x: 0 0x71-0x71.7 (1)
|
|
| | | [1]{}: in 0x72-0x73.7 (2)
|
|
0x70| 20 | | local.get: 0x20 (valid) 0x72-0x72.7 (1)
|
|
0x70| 01 | . | x: 1 0x73-0x73.7 (1)
|
|
| | | [2]{}: in 0x74-0x74.7 (1)
|
|
0x70| 6d | m | i32.div_s: 0x6d (valid) 0x74-0x74.7 (1)
|
|
| | | [3]{}: in 0x75-0x75.7 (1)
|
|
0x70| 1a | . | drop: 0x1a (valid) 0x75-0x75.7 (1)
|
|
| | | [4]{}: in 0x76-0x76.7 (1)
|
|
0x70| 0b | . | end: 0xb (valid) 0x76-0x76.7 (1)
|
|
| | | [1]{}: code 0x77-0x7f.7 (9)
|
|
0x70| 08 | . | size: 8 0x77-0x77.7 (1)
|
|
| | | code{}: 0x78-0x7f.7 (8)
|
|
| | | t{}: 0x78-0x78.7 (1)
|
|
0x70| 00 | . | n: 0 0x78-0x78.7 (1)
|
|
| | | x[0:0]: 0x79-NA (0)
|
|
| | | e[0:5]: 0x79-0x7f.7 (7)
|
|
| | | [0]{}: in 0x79-0x7a.7 (2)
|
|
0x70| 20 | | local.get: 0x20 (valid) 0x79-0x79.7 (1)
|
|
0x70| 00 | . | x: 0 0x7a-0x7a.7 (1)
|
|
| | | [1]{}: in 0x7b-0x7c.7 (2)
|
|
0x70| 20 | | local.get: 0x20 (valid) 0x7b-0x7b.7 (1)
|
|
0x70| 01 | . | x: 1 0x7c-0x7c.7 (1)
|
|
| | | [2]{}: in 0x7d-0x7d.7 (1)
|
|
0x70| 6e | n | i32.div_u: 0x6e (valid) 0x7d-0x7d.7 (1)
|
|
| | | [3]{}: in 0x7e-0x7e.7 (1)
|
|
0x70| 1a | . | drop: 0x1a (valid) 0x7e-0x7e.7 (1)
|
|
| | | [4]{}: in 0x7f-0x7f.7 (1)
|
|
0x70| 0b| .| end: 0xb (valid) 0x7f-0x7f.7 (1)
|
|
| | | [2]{}: code 0x80-0x88.7 (9)
|
|
0x80|08 |. | size: 8 0x80-0x80.7 (1)
|
|
| | | code{}: 0x81-0x88.7 (8)
|
|
| | | t{}: 0x81-0x81.7 (1)
|
|
0x80| 00 | . | n: 0 0x81-0x81.7 (1)
|
|
| | | x[0:0]: 0x82-NA (0)
|
|
| | | e[0:5]: 0x82-0x88.7 (7)
|
|
| | | [0]{}: in 0x82-0x83.7 (2)
|
|
0x80| 20 | | local.get: 0x20 (valid) 0x82-0x82.7 (1)
|
|
0x80| 00 | . | x: 0 0x83-0x83.7 (1)
|
|
| | | [1]{}: in 0x84-0x85.7 (2)
|
|
0x80| 20 | | local.get: 0x20 (valid) 0x84-0x84.7 (1)
|
|
0x80| 01 | . | x: 1 0x85-0x85.7 (1)
|
|
| | | [2]{}: in 0x86-0x86.7 (1)
|
|
0x80| 7f | . | i64.div_s: 0x7f (valid) 0x86-0x86.7 (1)
|
|
| | | [3]{}: in 0x87-0x87.7 (1)
|
|
0x80| 1a | . | drop: 0x1a (valid) 0x87-0x87.7 (1)
|
|
| | | [4]{}: in 0x88-0x88.7 (1)
|
|
0x80| 0b | . | end: 0xb (valid) 0x88-0x88.7 (1)
|
|
| | | [3]{}: code 0x89-0x91.7 (9)
|
|
0x80| 08 | . | size: 8 0x89-0x89.7 (1)
|
|
| | | code{}: 0x8a-0x91.7 (8)
|
|
| | | t{}: 0x8a-0x8a.7 (1)
|
|
0x80| 00 | . | n: 0 0x8a-0x8a.7 (1)
|
|
| | | x[0:0]: 0x8b-NA (0)
|
|
| | | e[0:5]: 0x8b-0x91.7 (7)
|
|
| | | [0]{}: in 0x8b-0x8c.7 (2)
|
|
0x80| 20 | | local.get: 0x20 (valid) 0x8b-0x8b.7 (1)
|
|
0x80| 00 | . | x: 0 0x8c-0x8c.7 (1)
|
|
| | | [1]{}: in 0x8d-0x8e.7 (2)
|
|
0x80| 20 | | local.get: 0x20 (valid) 0x8d-0x8d.7 (1)
|
|
0x80| 01 | . | x: 1 0x8e-0x8e.7 (1)
|
|
| | | [2]{}: in 0x8f-0x8f.7 (1)
|
|
0x80| 80| .| i64.div_u: 0x80 (valid) 0x8f-0x8f.7 (1)
|
|
| | | [3]{}: in 0x90-0x90.7 (1)
|
|
0x90|1a |. | drop: 0x1a (valid) 0x90-0x90.7 (1)
|
|
| | | [4]{}: in 0x91-0x91.7 (1)
|
|
0x90| 0b| | .| | end: 0xb (valid) 0x91-0x91.7 (1)
|