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

237 lines
25 KiB
Plaintext

$ fq -d wasm dv address-3.wasm
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: address-3.wasm (wasm) 0x0-0xbe.7 (191)
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-0xbe.7 (183)
| | | [0]{}: section 0x8-0x13.7 (12)
0x00| 01 | . | id: "type section" (1) 0x8-0x8.7 (1)
0x00| 0a | . | size: 10 0x9-0x9.7 (1)
| | | content{}: 0xa-0x13.7 (10)
| | | ft{}: 0xa-0x13.7 (10)
0x00| 02 | . | n: 2 0xa-0xa.7 (1)
| | | x[0:2]: 0xb-0x13.7 (9)
| | | [0]{}: ft 0xb-0xf.7 (5)
0x00| 60 | ` | tag: 0x60 (valid) 0xb-0xb.7 (1)
| | | rt1{}: 0xc-0xd.7 (2)
0x00| 01 | . | n: 1 0xc-0xc.7 (1)
| | | x[0:1]: 0xd-0xd.7 (1)
0x00| 7f | . | [0]: "i32" (0x7f) t 0xd-0xd.7 (1)
| | | rt2{}: 0xe-0xf.7 (2)
0x00| 01 | . | n: 1 0xe-0xe.7 (1)
| | | x[0:1]: 0xf-0xf.7 (1)
0x00| 7c| || [0]: "f64" (0x7c) t 0xf-0xf.7 (1)
| | | [1]{}: ft 0x10-0x13.7 (4)
0x10|60 |` | tag: 0x60 (valid) 0x10-0x10.7 (1)
| | | rt1{}: 0x11-0x12.7 (2)
0x10| 01 | . | n: 1 0x11-0x11.7 (1)
| | | x[0:1]: 0x12-0x12.7 (1)
0x10| 7f | . | [0]: "i32" (0x7f) t 0x12-0x12.7 (1)
| | | rt2{}: 0x13-0x13.7 (1)
0x10| 00 | . | n: 0 0x13-0x13.7 (1)
| | | x[0:0]: 0x14-NA (0)
| | | [1]{}: section 0x14-0x1c.7 (9)
0x10| 03 | . | id: "function section" (3) 0x14-0x14.7 (1)
0x10| 07 | . | size: 7 0x15-0x15.7 (1)
| | | content{}: 0x16-0x1c.7 (7)
| | | x{}: 0x16-0x1c.7 (7)
0x10| 06 | . | n: 6 0x16-0x16.7 (1)
| | | x[0:6]: 0x17-0x1c.7 (6)
0x10| 00 | . | [0]: 0 x 0x17-0x17.7 (1)
0x10| 00 | . | [1]: 0 x 0x18-0x18.7 (1)
0x10| 00 | . | [2]: 0 x 0x19-0x19.7 (1)
0x10| 00 | . | [3]: 0 x 0x1a-0x1a.7 (1)
0x10| 00 | . | [4]: 0 x 0x1b-0x1b.7 (1)
0x10| 01 | . | [5]: 1 x 0x1c-0x1c.7 (1)
| | | [2]{}: section 0x1d-0x21.7 (5)
0x10| 05 | . | id: "memory section" (5) 0x1d-0x1d.7 (1)
0x10| 03 | . | size: 3 0x1e-0x1e.7 (1)
| | | content{}: 0x1f-0x21.7 (3)
| | | mem{}: 0x1f-0x21.7 (3)
0x10| 01| .| n: 1 0x1f-0x1f.7 (1)
| | | x[0:1]: 0x20-0x21.7 (2)
| | | [0]{}: mem 0x20-0x21.7 (2)
| | | lim{}: 0x20-0x21.7 (2)
0x20|00 |. | tag: 0x0 0x20-0x20.7 (1)
0x20| 01 | . | n: 1 0x21-0x21.7 (1)
| | | [3]{}: section 0x22-0x64.7 (67)
0x20| 07 | . | id: "export section" (7) 0x22-0x22.7 (1)
0x20| 41 | A | size: 65 0x23-0x23.7 (1)
| | | content{}: 0x24-0x64.7 (65)
| | | ex{}: 0x24-0x64.7 (65)
0x20| 06 | . | n: 6 0x24-0x24.7 (1)
| | | x[0:6]: 0x25-0x64.7 (64)
| | | [0]{}: ex 0x25-0x2f.7 (11)
| | | nm{}: 0x25-0x2d.7 (9)
0x20| 08 | . | n: 8 0x25-0x25.7 (1)
0x20| 36 34 5f 67 6f 6f 64 31 | 64_good1 | b: "64_good1" 0x26-0x2d.7 (8)
| | | d{}: 0x2e-0x2f.7 (2)
0x20| 00 | . | tag: "funcidx" (0x0) 0x2e-0x2e.7 (1)
0x20| 00| .| x: 0 0x2f-0x2f.7 (1)
| | | [1]{}: ex 0x30-0x3a.7 (11)
| | | nm{}: 0x30-0x38.7 (9)
0x30|08 |. | n: 8 0x30-0x30.7 (1)
0x30| 36 34 5f 67 6f 6f 64 32 | 64_good2 | b: "64_good2" 0x31-0x38.7 (8)
| | | d{}: 0x39-0x3a.7 (2)
0x30| 00 | . | tag: "funcidx" (0x0) 0x39-0x39.7 (1)
0x30| 01 | . | x: 1 0x3a-0x3a.7 (1)
| | | [2]{}: ex 0x3b-0x45.7 (11)
| | | nm{}: 0x3b-0x43.7 (9)
0x30| 08 | . | n: 8 0x3b-0x3b.7 (1)
0x30| 36 34 5f 67| 64_g| b: "64_good3" 0x3c-0x43.7 (8)
0x40|6f 6f 64 33 |ood3 |
| | | d{}: 0x44-0x45.7 (2)
0x40| 00 | . | tag: "funcidx" (0x0) 0x44-0x44.7 (1)
0x40| 02 | . | x: 2 0x45-0x45.7 (1)
| | | [3]{}: ex 0x46-0x50.7 (11)
| | | nm{}: 0x46-0x4e.7 (9)
0x40| 08 | . | n: 8 0x46-0x46.7 (1)
0x40| 36 34 5f 67 6f 6f 64 34 | 64_good4 | b: "64_good4" 0x47-0x4e.7 (8)
| | | d{}: 0x4f-0x50.7 (2)
0x40| 00| .| tag: "funcidx" (0x0) 0x4f-0x4f.7 (1)
0x50|03 |. | x: 3 0x50-0x50.7 (1)
| | | [4]{}: ex 0x51-0x5b.7 (11)
| | | nm{}: 0x51-0x59.7 (9)
0x50| 08 | . | n: 8 0x51-0x51.7 (1)
0x50| 36 34 5f 67 6f 6f 64 35 | 64_good5 | b: "64_good5" 0x52-0x59.7 (8)
| | | d{}: 0x5a-0x5b.7 (2)
0x50| 00 | . | tag: "funcidx" (0x0) 0x5a-0x5a.7 (1)
0x50| 04 | . | x: 4 0x5b-0x5b.7 (1)
| | | [5]{}: ex 0x5c-0x64.7 (9)
| | | nm{}: 0x5c-0x62.7 (7)
0x50| 06 | . | n: 6 0x5c-0x5c.7 (1)
0x50| 36 34 5f| 64_| b: "64_bad" 0x5d-0x62.7 (6)
0x60|62 61 64 |bad |
| | | d{}: 0x63-0x64.7 (2)
0x60| 00 | . | tag: "funcidx" (0x0) 0x63-0x63.7 (1)
0x60| 05 | . | x: 5 0x64-0x64.7 (1)
| | | [4]{}: section 0x65-0x9c.7 (56)
0x60| 0a | . | id: "code section" (10) 0x65-0x65.7 (1)
0x60| 36 | 6 | size: 54 0x66-0x66.7 (1)
| | | content{}: 0x67-0x9c.7 (54)
| | | code{}: 0x67-0x9c.7 (54)
0x60| 06 | . | n: 6 0x67-0x67.7 (1)
| | | x[0:6]: 0x68-0x9c.7 (53)
| | | [0]{}: code 0x68-0x6f.7 (8)
0x60| 07 | . | size: 7 0x68-0x68.7 (1)
| | | code{}: 0x69-0x6f.7 (7)
| | | t{}: 0x69-0x69.7 (1)
0x60| 00 | . | n: 0 0x69-0x69.7 (1)
| | | x[0:0]: 0x6a-NA (0)
| | | e[0:3]: 0x6a-0x6f.7 (6)
| | | [0]{}: in 0x6a-0x6b.7 (2)
0x60| 20 | | local.get: 0x20 (valid) 0x6a-0x6a.7 (1)
0x60| 00 | . | x: 0 0x6b-0x6b.7 (1)
| | | [1]{}: in 0x6c-0x6e.7 (3)
0x60| 2b | + | f64.load: 0x2b (valid) 0x6c-0x6c.7 (1)
| | | m{}: 0x6d-0x6e.7 (2)
0x60| 03 | . | a: 3 0x6d-0x6d.7 (1)
0x60| 00 | . | o: 0 0x6e-0x6e.7 (1)
| | | [2]{}: in 0x6f-0x6f.7 (1)
0x60| 0b| .| end: 0xb (valid) 0x6f-0x6f.7 (1)
| | | [1]{}: code 0x70-0x77.7 (8)
0x70|07 |. | size: 7 0x70-0x70.7 (1)
| | | code{}: 0x71-0x77.7 (7)
| | | t{}: 0x71-0x71.7 (1)
0x70| 00 | . | n: 0 0x71-0x71.7 (1)
| | | x[0:0]: 0x72-NA (0)
| | | e[0:3]: 0x72-0x77.7 (6)
| | | [0]{}: in 0x72-0x73.7 (2)
0x70| 20 | | local.get: 0x20 (valid) 0x72-0x72.7 (1)
0x70| 00 | . | x: 0 0x73-0x73.7 (1)
| | | [1]{}: in 0x74-0x76.7 (3)
0x70| 2b | + | f64.load: 0x2b (valid) 0x74-0x74.7 (1)
| | | m{}: 0x75-0x76.7 (2)
0x70| 00 | . | a: 0 0x75-0x75.7 (1)
0x70| 00 | . | o: 0 0x76-0x76.7 (1)
| | | [2]{}: in 0x77-0x77.7 (1)
0x70| 0b | . | end: 0xb (valid) 0x77-0x77.7 (1)
| | | [2]{}: code 0x78-0x7f.7 (8)
0x70| 07 | . | size: 7 0x78-0x78.7 (1)
| | | code{}: 0x79-0x7f.7 (7)
| | | t{}: 0x79-0x79.7 (1)
0x70| 00 | . | n: 0 0x79-0x79.7 (1)
| | | x[0:0]: 0x7a-NA (0)
| | | e[0:3]: 0x7a-0x7f.7 (6)
| | | [0]{}: in 0x7a-0x7b.7 (2)
0x70| 20 | | local.get: 0x20 (valid) 0x7a-0x7a.7 (1)
0x70| 00 | . | x: 0 0x7b-0x7b.7 (1)
| | | [1]{}: in 0x7c-0x7e.7 (3)
0x70| 2b | + | f64.load: 0x2b (valid) 0x7c-0x7c.7 (1)
| | | m{}: 0x7d-0x7e.7 (2)
0x70| 00 | . | a: 0 0x7d-0x7d.7 (1)
0x70| 01 | . | o: 1 0x7e-0x7e.7 (1)
| | | [2]{}: in 0x7f-0x7f.7 (1)
0x70| 0b| .| end: 0xb (valid) 0x7f-0x7f.7 (1)
| | | [3]{}: code 0x80-0x87.7 (8)
0x80|07 |. | size: 7 0x80-0x80.7 (1)
| | | code{}: 0x81-0x87.7 (7)
| | | t{}: 0x81-0x81.7 (1)
0x80| 00 | . | n: 0 0x81-0x81.7 (1)
| | | x[0:0]: 0x82-NA (0)
| | | e[0:3]: 0x82-0x87.7 (6)
| | | [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-0x86.7 (3)
0x80| 2b | + | f64.load: 0x2b (valid) 0x84-0x84.7 (1)
| | | m{}: 0x85-0x86.7 (2)
0x80| 01 | . | a: 1 0x85-0x85.7 (1)
0x80| 02 | . | o: 2 0x86-0x86.7 (1)
| | | [2]{}: in 0x87-0x87.7 (1)
0x80| 0b | . | end: 0xb (valid) 0x87-0x87.7 (1)
| | | [4]{}: code 0x88-0x8f.7 (8)
0x80| 07 | . | size: 7 0x88-0x88.7 (1)
| | | code{}: 0x89-0x8f.7 (7)
| | | t{}: 0x89-0x89.7 (1)
0x80| 00 | . | n: 0 0x89-0x89.7 (1)
| | | x[0:0]: 0x8a-NA (0)
| | | e[0:3]: 0x8a-0x8f.7 (6)
| | | [0]{}: in 0x8a-0x8b.7 (2)
0x80| 20 | | local.get: 0x20 (valid) 0x8a-0x8a.7 (1)
0x80| 00 | . | x: 0 0x8b-0x8b.7 (1)
| | | [1]{}: in 0x8c-0x8e.7 (3)
0x80| 2b | + | f64.load: 0x2b (valid) 0x8c-0x8c.7 (1)
| | | m{}: 0x8d-0x8e.7 (2)
0x80| 03 | . | a: 3 0x8d-0x8d.7 (1)
0x80| 12 | . | o: 18 0x8e-0x8e.7 (1)
| | | [2]{}: in 0x8f-0x8f.7 (1)
0x80| 0b| .| end: 0xb (valid) 0x8f-0x8f.7 (1)
| | | [5]{}: code 0x90-0x9c.7 (13)
0x90|0c |. | size: 12 0x90-0x90.7 (1)
| | | code{}: 0x91-0x9c.7 (12)
| | | t{}: 0x91-0x91.7 (1)
0x90| 00 | . | n: 0 0x91-0x91.7 (1)
| | | x[0:0]: 0x92-NA (0)
| | | e[0:4]: 0x92-0x9c.7 (11)
| | | [0]{}: in 0x92-0x93.7 (2)
0x90| 20 | | local.get: 0x20 (valid) 0x92-0x92.7 (1)
0x90| 00 | . | x: 0 0x93-0x93.7 (1)
| | | [1]{}: in 0x94-0x9a.7 (7)
0x90| 2b | + | f64.load: 0x2b (valid) 0x94-0x94.7 (1)
| | | m{}: 0x95-0x9a.7 (6)
0x90| 03 | . | a: 3 0x95-0x95.7 (1)
0x90| ff ff ff ff 0f | ..... | o: 4294967295 0x96-0x9a.7 (5)
| | | [2]{}: in 0x9b-0x9b.7 (1)
0x90| 1a | . | drop: 0x1a (valid) 0x9b-0x9b.7 (1)
| | | [3]{}: in 0x9c-0x9c.7 (1)
0x90| 0b | . | end: 0xb (valid) 0x9c-0x9c.7 (1)
| | | [5]{}: section 0x9d-0xbe.7 (34)
0x90| 0b | . | id: "data section" (11) 0x9d-0x9d.7 (1)
0x90| 20 | | size: 32 0x9e-0x9e.7 (1)
| | | content{}: 0x9f-0xbe.7 (32)
| | | seg{}: 0x9f-0xbe.7 (32)
0x90| 01| .| n: 1 0x9f-0x9f.7 (1)
| | | x[0:1]: 0xa0-0xbe.7 (31)
| | | [0]{}: seg 0xa0-0xbe.7 (31)
0xa0|00 |. | tag: 0 0xa0-0xa0.7 (1)
| | | e[0:2]: 0xa1-0xa3.7 (3)
| | | [0]{}: in 0xa1-0xa2.7 (2)
0xa0| 41 | A | i32.const: 0x41 (valid) 0xa1-0xa1.7 (1)
0xa0| 00 | . | n: 0 0xa2-0xa2.7 (1)
| | | [1]{}: in 0xa3-0xa3.7 (1)
0xa0| 0b | . | end: 0xb (valid) 0xa3-0xa3.7 (1)
| | | b{}: 0xa4-0xbe.7 (27)
0xa0| 1a | . | n: 26 0xa4-0xa4.7 (1)
0xa0| 00 00 00 00 00 00 00 00 00 00 00| ...........| x: raw bits 0xa5-0xbe.7 (26)
0xb0|00 00 00 00 00 f4 7f 01 00 00 00 00 00 fc 7f| |...............||