1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00
fq/format/wasm/testdata/core/bulk-9.fqtest
2022-08-19 18:47:50 +09:00

203 lines
22 KiB
Plaintext

$ fq -d wasm dv bulk-9.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: bulk-9.wasm (wasm) 0x0-0x95.7 (150)
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-0x95.7 (142)
| | | [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-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)
| | | rt2{}: 0x11-0x11.7 (1)
0x10| 00 | . | n: 0 0x11-0x11.7 (1)
| | | x[0:0]: 0x12-NA (0)
| | | [1]{}: section 0x12-0x19.7 (8)
0x10| 03 | . | id: "function_section" (3) 0x12-0x12.7 (1)
0x10| 06 | . | size: 6 0x13-0x13.7 (1)
| | | content{}: 0x14-0x19.7 (6)
| | | x{}: 0x14-0x19.7 (6)
0x10| 05 | . | n: 5 0x14-0x14.7 (1)
| | | x[0:5]: 0x15-0x19.7 (5)
0x10| 00 | . | [0]: 0 x 0x15-0x15.7 (1)
0x10| 00 | . | [1]: 0 x 0x16-0x16.7 (1)
0x10| 01 | . | [2]: 1 x 0x17-0x17.7 (1)
0x10| 00 | . | [3]: 0 x 0x18-0x18.7 (1)
0x10| 01 | . | [4]: 1 x 0x19-0x19.7 (1)
| | | [2]{}: section 0x1a-0x1f.7 (6)
0x10| 04 | . | id: "table_section" (4) 0x1a-0x1a.7 (1)
0x10| 04 | . | size: 4 0x1b-0x1b.7 (1)
| | | content{}: 0x1c-0x1f.7 (4)
| | | tab{}: 0x1c-0x1f.7 (4)
0x10| 01 | . | n: 1 0x1c-0x1c.7 (1)
| | | x[0:1]: 0x1d-0x1f.7 (3)
| | | [0]{}: tab 0x1d-0x1f.7 (3)
0x10| 70 | p | et: "funcref" (112) 0x1d-0x1d.7 (1)
| | | lim{}: 0x1e-0x1f.7 (2)
0x10| 00 | . | tag: 0x0 0x1e-0x1e.7 (1)
0x10| 01| .| n: 1 0x1f-0x1f.7 (1)
| | | [3]{}: section 0x20-0x5c.7 (61)
0x20|07 |. | id: "export_section" (7) 0x20-0x20.7 (1)
0x20| 3b | ; | size: 59 0x21-0x21.7 (1)
| | | content{}: 0x22-0x5c.7 (59)
| | | ex{}: 0x22-0x5c.7 (59)
0x20| 04 | . | n: 4 0x22-0x22.7 (1)
| | | x[0:4]: 0x23-0x5c.7 (58)
| | | [0]{}: ex 0x23-0x31.7 (15)
| | | nm{}: 0x23-0x2f.7 (13)
0x20| 0c | . | n: 12 0x23-0x23.7 (1)
0x20| 64 72 6f 70 5f 70 61 73 73 69 76 65| drop_passive| b: "drop_passive" 0x24-0x2f.7 (12)
| | | d{}: 0x30-0x31.7 (2)
0x30|00 |. | tag: "funcidx" (0x0) 0x30-0x30.7 (1)
0x30| 01 | . | x: 1 0x31-0x31.7 (1)
| | | [1]{}: ex 0x32-0x40.7 (15)
| | | nm{}: 0x32-0x3e.7 (13)
0x30| 0c | . | n: 12 0x32-0x32.7 (1)
0x30| 69 6e 69 74 5f 70 61 73 73 69 76 65 | init_passive | b: "init_passive" 0x33-0x3e.7 (12)
| | | d{}: 0x3f-0x40.7 (2)
0x30| 00| .| tag: "funcidx" (0x0) 0x3f-0x3f.7 (1)
0x40|02 |. | x: 2 0x40-0x40.7 (1)
| | | [2]{}: ex 0x41-0x4e.7 (14)
| | | nm{}: 0x41-0x4c.7 (12)
0x40| 0b | . | n: 11 0x41-0x41.7 (1)
0x40| 64 72 6f 70 5f 61 63 74 69 76 65 | drop_active | b: "drop_active" 0x42-0x4c.7 (11)
| | | d{}: 0x4d-0x4e.7 (2)
0x40| 00 | . | tag: "funcidx" (0x0) 0x4d-0x4d.7 (1)
0x40| 03 | . | x: 3 0x4e-0x4e.7 (1)
| | | [3]{}: ex 0x4f-0x5c.7 (14)
| | | nm{}: 0x4f-0x5a.7 (12)
0x40| 0b| .| n: 11 0x4f-0x4f.7 (1)
0x50|69 6e 69 74 5f 61 63 74 69 76 65 |init_active | b: "init_active" 0x50-0x5a.7 (11)
| | | d{}: 0x5b-0x5c.7 (2)
0x50| 00 | . | tag: "funcidx" (0x0) 0x5b-0x5b.7 (1)
0x50| 04 | . | x: 4 0x5c-0x5c.7 (1)
| | | [4]{}: section 0x5d-0x69.7 (13)
0x50| 09 | . | id: "element_section" (9) 0x5d-0x5d.7 (1)
0x50| 0b | . | size: 11 0x5e-0x5e.7 (1)
| | | element{}: 0x5f-0x69.7 (11)
| | | seg{}: 0x5f-0x69.7 (11)
0x50| 02| .| n: 2 0x5f-0x5f.7 (1)
| | | x[0:2]: 0x60-0x69.7 (10)
| | | [0]{}: seg 0x60-0x63.7 (4)
0x60|01 |. | tag: 1 0x60-0x60.7 (1)
0x60| 00 | . | et: "funcref" (0) (valid) 0x61-0x61.7 (1)
| | | y{}: 0x62-0x63.7 (2)
0x60| 01 | . | n: 1 0x62-0x62.7 (1)
| | | x[0:1]: 0x63-0x63.7 (1)
0x60| 00 | . | [0]: 0 y 0x63-0x63.7 (1)
| | | [1]{}: seg 0x64-0x69.7 (6)
0x60| 00 | . | tag: 0 0x64-0x64.7 (1)
| | | e[0:2]: 0x65-0x67.7 (3)
| | | [0]{}: in 0x65-0x66.7 (2)
0x60| 41 | A | opcode: "i32.const" (0x41) (valid) 0x65-0x65.7 (1)
0x60| 00 | . | n: 0 0x66-0x66.7 (1)
| | | [1]{}: in 0x67-0x67.7 (1)
0x60| 0b | . | opcode: "end" (0xb) (valid) 0x67-0x67.7 (1)
| | | y{}: 0x68-0x69.7 (2)
0x60| 01 | . | n: 1 0x68-0x68.7 (1)
| | | x[0:1]: 0x69-0x69.7 (1)
0x60| 00 | . | [0]: 0 y 0x69-0x69.7 (1)
| | | [5]{}: section 0x6a-0x95.7 (44)
0x60| 0a | . | id: "code_section" (10) 0x6a-0x6a.7 (1)
0x60| 2a | * | size: 42 0x6b-0x6b.7 (1)
| | | content{}: 0x6c-0x95.7 (42)
| | | code{}: 0x6c-0x95.7 (42)
0x60| 05 | . | n: 5 0x6c-0x6c.7 (1)
| | | x[0:5]: 0x6d-0x95.7 (41)
| | | [0]{}: code 0x6d-0x6f.7 (3)
0x60| 02 | . | size: 2 0x6d-0x6d.7 (1)
| | | code{}: 0x6e-0x6f.7 (2)
| | | t{}: 0x6e-0x6e.7 (1)
0x60| 00 | . | n: 0 0x6e-0x6e.7 (1)
| | | x[0:0]: 0x6f-NA (0)
| | | e[0:1]: 0x6f-0x6f.7 (1)
| | | [0]{}: in 0x6f-0x6f.7 (1)
0x60| 0b| .| opcode: "end" (0xb) (valid) 0x6f-0x6f.7 (1)
| | | [1]{}: code 0x70-0x75.7 (6)
0x70|05 |. | size: 5 0x70-0x70.7 (1)
| | | code{}: 0x71-0x75.7 (5)
| | | t{}: 0x71-0x71.7 (1)
0x70| 00 | . | n: 0 0x71-0x71.7 (1)
| | | x[0:0]: 0x72-NA (0)
| | | e[0:2]: 0x72-0x75.7 (4)
| | | [0]{}: in 0x72-0x74.7 (3)
0x70| fc | . | prefix: 0xfc (valid) 0x72-0x72.7 (1)
0x70| 0d | . | opcode: "elem.drop" (13) (valid) 0x73-0x73.7 (1)
0x70| 00 | . | x: 0 0x74-0x74.7 (1)
| | | [1]{}: in 0x75-0x75.7 (1)
0x70| 0b | . | opcode: "end" (0xb) (valid) 0x75-0x75.7 (1)
| | | [2]{}: code 0x76-0x82.7 (13)
0x70| 0c | . | size: 12 0x76-0x76.7 (1)
| | | code{}: 0x77-0x82.7 (12)
| | | t{}: 0x77-0x77.7 (1)
0x70| 00 | . | n: 0 0x77-0x77.7 (1)
| | | x[0:0]: 0x78-NA (0)
| | | e[0:5]: 0x78-0x82.7 (11)
| | | [0]{}: in 0x78-0x79.7 (2)
0x70| 41 | A | opcode: "i32.const" (0x41) (valid) 0x78-0x78.7 (1)
0x70| 00 | . | n: 0 0x79-0x79.7 (1)
| | | [1]{}: in 0x7a-0x7b.7 (2)
0x70| 41 | A | opcode: "i32.const" (0x41) (valid) 0x7a-0x7a.7 (1)
0x70| 00 | . | n: 0 0x7b-0x7b.7 (1)
| | | [2]{}: in 0x7c-0x7d.7 (2)
0x70| 20 | | opcode: "local.get" (0x20) (valid) 0x7c-0x7c.7 (1)
0x70| 00 | . | x: 0 0x7d-0x7d.7 (1)
| | | [3]{}: in 0x7e-0x81.7 (4)
0x70| fc | . | prefix: 0xfc (valid) 0x7e-0x7e.7 (1)
0x70| 0c| .| opcode: "table.init" (12) (valid) 0x7f-0x7f.7 (1)
0x80|00 |. | y: 0 0x80-0x80.7 (1)
0x80| 00 | . | x: 0 0x81-0x81.7 (1)
| | | [4]{}: in 0x82-0x82.7 (1)
0x80| 0b | . | opcode: "end" (0xb) (valid) 0x82-0x82.7 (1)
| | | [3]{}: code 0x83-0x88.7 (6)
0x80| 05 | . | size: 5 0x83-0x83.7 (1)
| | | code{}: 0x84-0x88.7 (5)
| | | t{}: 0x84-0x84.7 (1)
0x80| 00 | . | n: 0 0x84-0x84.7 (1)
| | | x[0:0]: 0x85-NA (0)
| | | e[0:2]: 0x85-0x88.7 (4)
| | | [0]{}: in 0x85-0x87.7 (3)
0x80| fc | . | prefix: 0xfc (valid) 0x85-0x85.7 (1)
0x80| 0d | . | opcode: "elem.drop" (13) (valid) 0x86-0x86.7 (1)
0x80| 01 | . | x: 1 0x87-0x87.7 (1)
| | | [1]{}: in 0x88-0x88.7 (1)
0x80| 0b | . | opcode: "end" (0xb) (valid) 0x88-0x88.7 (1)
| | | [4]{}: code 0x89-0x95.7 (13)
0x80| 0c | . | size: 12 0x89-0x89.7 (1)
| | | code{}: 0x8a-0x95.7 (12)
| | | t{}: 0x8a-0x8a.7 (1)
0x80| 00 | . | n: 0 0x8a-0x8a.7 (1)
| | | x[0:0]: 0x8b-NA (0)
| | | e[0:5]: 0x8b-0x95.7 (11)
| | | [0]{}: in 0x8b-0x8c.7 (2)
0x80| 41 | A | opcode: "i32.const" (0x41) (valid) 0x8b-0x8b.7 (1)
0x80| 00 | . | n: 0 0x8c-0x8c.7 (1)
| | | [1]{}: in 0x8d-0x8e.7 (2)
0x80| 41 | A | opcode: "i32.const" (0x41) (valid) 0x8d-0x8d.7 (1)
0x80| 00 | . | n: 0 0x8e-0x8e.7 (1)
| | | [2]{}: in 0x8f-0x90.7 (2)
0x80| 20| | opcode: "local.get" (0x20) (valid) 0x8f-0x8f.7 (1)
0x90|00 |. | x: 0 0x90-0x90.7 (1)
| | | [3]{}: in 0x91-0x94.7 (4)
0x90| fc | . | prefix: 0xfc (valid) 0x91-0x91.7 (1)
0x90| 0c | . | opcode: "table.init" (12) (valid) 0x92-0x92.7 (1)
0x90| 01 | . | y: 1 0x93-0x93.7 (1)
0x90| 00 | . | x: 0 0x94-0x94.7 (1)
| | | [4]{}: in 0x95-0x95.7 (1)
0x90| 0b| | .| | opcode: "end" (0xb) (valid) 0x95-0x95.7 (1)