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

131 lines
14 KiB
Plaintext

$ fq -d wasm dv linking-20.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: linking-20.wasm (wasm) 0x0-0x64.7 (101)
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:6]: 0x8-0x64.7 (93)
| | | [0]{}: section 0x8-0xe.7 (7)
0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1)
0x00| 05 | . | size: 5 0x9-0x9.7 (1)
| | | content{}: 0xa-0xe.7 (5)
| | | ft{}: 0xa-0xe.7 (5)
0x00| 01 | . | n: 1 0xa-0xa.7 (1)
| | | x[0:1]: 0xb-0xe.7 (4)
| | | [0]{}: ft 0xb-0xe.7 (4)
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-0xe.7 (2)
0x00| 01 | . | n: 1 0xd-0xd.7 (1)
| | | x[0:1]: 0xe-0xe.7 (1)
0x00| 7f | . | [0]: "i32" (0x7f) t 0xe-0xe.7 (1)
| | | [1]{}: section 0xf-0x13.7 (5)
0x00| 03| .| id: "function section" (3) 0xf-0xf.7 (1)
0x10|03 |. | size: 3 0x10-0x10.7 (1)
| | | content{}: 0x11-0x13.7 (3)
| | | x{}: 0x11-0x13.7 (3)
0x10| 02 | . | n: 2 0x11-0x11.7 (1)
| | | x[0:2]: 0x12-0x13.7 (2)
0x10| 00 | . | [0]: 0 x 0x12-0x12.7 (1)
0x10| 00 | . | [1]: 0 x 0x13-0x13.7 (1)
| | | [2]{}: section 0x14-0x19.7 (6)
0x10| 04 | . | id: "table section" (4) 0x14-0x14.7 (1)
0x10| 04 | . | size: 4 0x15-0x15.7 (1)
| | | content{}: 0x16-0x19.7 (4)
| | | tab{}: 0x16-0x19.7 (4)
0x10| 01 | . | n: 1 0x16-0x16.7 (1)
| | | x[0:1]: 0x17-0x19.7 (3)
| | | [0]{}: tab 0x17-0x19.7 (3)
0x10| 70 | p | et: "funcref" (112) 0x17-0x17.7 (1)
| | | lim{}: 0x18-0x19.7 (2)
0x10| 00 | . | tag: 0x0 0x18-0x18.7 (1)
0x10| 01 | . | n: 1 0x19-0x19.7 (1)
| | | [3]{}: section 0x1a-0x1e.7 (5)
0x10| 05 | . | id: "memory section" (5) 0x1a-0x1a.7 (1)
0x10| 03 | . | size: 3 0x1b-0x1b.7 (1)
| | | content{}: 0x1c-0x1e.7 (3)
| | | mem{}: 0x1c-0x1e.7 (3)
0x10| 01 | . | n: 1 0x1c-0x1c.7 (1)
| | | x[0:1]: 0x1d-0x1e.7 (2)
| | | [0]{}: mem 0x1d-0x1e.7 (2)
| | | lim{}: 0x1d-0x1e.7 (2)
0x10| 00 | . | tag: 0x0 0x1d-0x1d.7 (1)
0x10| 01 | . | n: 1 0x1e-0x1e.7 (1)
| | | [4]{}: section 0x1f-0x51.7 (51)
0x10| 07| .| id: "export section" (7) 0x1f-0x1f.7 (1)
0x20|31 |1 | size: 49 0x20-0x20.7 (1)
| | | content{}: 0x21-0x51.7 (49)
| | | ex{}: 0x21-0x51.7 (49)
0x20| 04 | . | n: 4 0x21-0x21.7 (1)
| | | x[0:4]: 0x22-0x51.7 (48)
| | | [0]{}: ex 0x22-0x2a.7 (9)
| | | nm{}: 0x22-0x28.7 (7)
0x20| 06 | . | n: 6 0x22-0x22.7 (1)
0x20| 6d 65 6d 6f 72 79 | memory | b: "memory" 0x23-0x28.7 (6)
| | | d{}: 0x29-0x2a.7 (2)
0x20| 02 | . | tag: "memidx" (0x2) 0x29-0x29.7 (1)
0x20| 00 | . | x: 0 0x2a-0x2a.7 (1)
| | | [1]{}: ex 0x2b-0x32.7 (8)
| | | nm{}: 0x2b-0x30.7 (6)
0x20| 05 | . | n: 5 0x2b-0x2b.7 (1)
0x20| 74 61 62 6c| tabl| b: "table" 0x2c-0x30.7 (5)
0x30|65 |e |
| | | d{}: 0x31-0x32.7 (2)
0x30| 01 | . | tag: "tableidx" (0x1) 0x31-0x31.7 (1)
0x30| 00 | . | x: 0 0x32-0x32.7 (1)
| | | [2]{}: ex 0x33-0x42.7 (16)
| | | nm{}: 0x33-0x40.7 (14)
0x30| 0d | . | n: 13 0x33-0x33.7 (1)
0x30| 67 65 74 20 6d 65 6d 6f 72 79 5b 30| get memory[0| b: "get memory[0]" 0x34-0x40.7 (13)
0x40|5d |] |
| | | d{}: 0x41-0x42.7 (2)
0x40| 00 | . | tag: "funcidx" (0x0) 0x41-0x41.7 (1)
0x40| 00 | . | x: 0 0x42-0x42.7 (1)
| | | [3]{}: ex 0x43-0x51.7 (15)
| | | nm{}: 0x43-0x4f.7 (13)
0x40| 0c | . | n: 12 0x43-0x43.7 (1)
0x40| 67 65 74 20 74 61 62 6c 65 5b 30 5d| get table[0]| b: "get table[0]" 0x44-0x4f.7 (12)
| | | d{}: 0x50-0x51.7 (2)
0x50|00 |. | tag: "funcidx" (0x0) 0x50-0x50.7 (1)
0x50| 01 | . | x: 1 0x51-0x51.7 (1)
| | | [5]{}: section 0x52-0x64.7 (19)
0x50| 0a | . | id: "code section" (10) 0x52-0x52.7 (1)
0x50| 11 | . | size: 17 0x53-0x53.7 (1)
| | | content{}: 0x54-0x64.7 (17)
| | | code{}: 0x54-0x64.7 (17)
0x50| 02 | . | n: 2 0x54-0x54.7 (1)
| | | x[0:2]: 0x55-0x64.7 (16)
| | | [0]{}: code 0x55-0x5c.7 (8)
0x50| 07 | . | size: 7 0x55-0x55.7 (1)
| | | code{}: 0x56-0x5c.7 (7)
| | | t{}: 0x56-0x56.7 (1)
0x50| 00 | . | n: 0 0x56-0x56.7 (1)
| | | x[0:0]: 0x57-NA (0)
| | | e[0:3]: 0x57-0x5c.7 (6)
| | | [0]{}: in 0x57-0x58.7 (2)
0x50| 41 | A | i32.const: 0x41 (valid) 0x57-0x57.7 (1)
0x50| 00 | . | n: 0 0x58-0x58.7 (1)
| | | [1]{}: in 0x59-0x5b.7 (3)
0x50| 2d | - | i32.load8_u: 0x2d (valid) 0x59-0x59.7 (1)
| | | m{}: 0x5a-0x5b.7 (2)
0x50| 00 | . | a: 0 0x5a-0x5a.7 (1)
0x50| 00 | . | o: 0 0x5b-0x5b.7 (1)
| | | [2]{}: in 0x5c-0x5c.7 (1)
0x50| 0b | . | end: 0xb (valid) 0x5c-0x5c.7 (1)
| | | [1]{}: code 0x5d-0x64.7 (8)
0x50| 07 | . | size: 7 0x5d-0x5d.7 (1)
| | | code{}: 0x5e-0x64.7 (7)
| | | t{}: 0x5e-0x5e.7 (1)
0x50| 00 | . | n: 0 0x5e-0x5e.7 (1)
| | | x[0:0]: 0x5f-NA (0)
| | | e[0:3]: 0x5f-0x64.7 (6)
| | | [0]{}: in 0x5f-0x60.7 (2)
0x50| 41| A| i32.const: 0x41 (valid) 0x5f-0x5f.7 (1)
0x60|00 |. | n: 0 0x60-0x60.7 (1)
| | | [1]{}: in 0x61-0x63.7 (3)
0x60| 11 | . | call: 0x11 (valid) 0x61-0x61.7 (1)
0x60| 00 | . | y: 0 0x62-0x62.7 (1)
0x60| 00 | . | x: 0 0x63-0x63.7 (1)
| | | [2]{}: in 0x64-0x64.7 (1)
0x60| 0b| | .| | end: 0xb (valid) 0x64-0x64.7 (1)