wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v2/testdata/binary.json (about) 1 {"source_filename": "./binary.wast", 2 "commands": [ 3 {"type": "module", "line": 1, "filename": "binary.0.wasm"}, 4 {"type": "module", "line": 2, "filename": "binary.1.wasm"}, 5 {"type": "module", "line": 3, "name": "$M1", "filename": "binary.2.wasm"}, 6 {"type": "module", "line": 4, "name": "$M2", "filename": "binary.3.wasm"}, 7 {"type": "assert_malformed", "line": 6, "filename": "binary.4.wasm", "text": "unexpected end", "module_type": "binary"}, 8 {"type": "assert_malformed", "line": 7, "filename": "binary.5.wasm", "text": "unexpected end", "module_type": "binary"}, 9 {"type": "assert_malformed", "line": 8, "filename": "binary.6.wasm", "text": "unexpected end", "module_type": "binary"}, 10 {"type": "assert_malformed", "line": 9, "filename": "binary.7.wasm", "text": "magic header not detected", "module_type": "binary"}, 11 {"type": "assert_malformed", "line": 10, "filename": "binary.8.wasm", "text": "magic header not detected", "module_type": "binary"}, 12 {"type": "assert_malformed", "line": 11, "filename": "binary.9.wasm", "text": "magic header not detected", "module_type": "binary"}, 13 {"type": "assert_malformed", "line": 12, "filename": "binary.10.wasm", "text": "magic header not detected", "module_type": "binary"}, 14 {"type": "assert_malformed", "line": 13, "filename": "binary.11.wasm", "text": "magic header not detected", "module_type": "binary"}, 15 {"type": "assert_malformed", "line": 14, "filename": "binary.12.wasm", "text": "magic header not detected", "module_type": "binary"}, 16 {"type": "assert_malformed", "line": 15, "filename": "binary.13.wasm", "text": "magic header not detected", "module_type": "binary"}, 17 {"type": "assert_malformed", "line": 16, "filename": "binary.14.wasm", "text": "magic header not detected", "module_type": "binary"}, 18 {"type": "assert_malformed", "line": 17, "filename": "binary.15.wasm", "text": "magic header not detected", "module_type": "binary"}, 19 {"type": "assert_malformed", "line": 18, "filename": "binary.16.wasm", "text": "magic header not detected", "module_type": "binary"}, 20 {"type": "assert_malformed", "line": 21, "filename": "binary.17.wasm", "text": "magic header not detected", "module_type": "binary"}, 21 {"type": "assert_malformed", "line": 24, "filename": "binary.18.wasm", "text": "magic header not detected", "module_type": "binary"}, 22 {"type": "assert_malformed", "line": 25, "filename": "binary.19.wasm", "text": "magic header not detected", "module_type": "binary"}, 23 {"type": "assert_malformed", "line": 28, "filename": "binary.20.wasm", "text": "magic header not detected", "module_type": "binary"}, 24 {"type": "assert_malformed", "line": 31, "filename": "binary.21.wasm", "text": "magic header not detected", "module_type": "binary"}, 25 {"type": "assert_malformed", "line": 34, "filename": "binary.22.wasm", "text": "magic header not detected", "module_type": "binary"}, 26 {"type": "assert_malformed", "line": 37, "filename": "binary.23.wasm", "text": "unexpected end", "module_type": "binary"}, 27 {"type": "assert_malformed", "line": 38, "filename": "binary.24.wasm", "text": "unexpected end", "module_type": "binary"}, 28 {"type": "assert_malformed", "line": 39, "filename": "binary.25.wasm", "text": "unexpected end", "module_type": "binary"}, 29 {"type": "assert_malformed", "line": 40, "filename": "binary.26.wasm", "text": "unknown binary version", "module_type": "binary"}, 30 {"type": "assert_malformed", "line": 41, "filename": "binary.27.wasm", "text": "unknown binary version", "module_type": "binary"}, 31 {"type": "assert_malformed", "line": 42, "filename": "binary.28.wasm", "text": "unknown binary version", "module_type": "binary"}, 32 {"type": "assert_malformed", "line": 43, "filename": "binary.29.wasm", "text": "unknown binary version", "module_type": "binary"}, 33 {"type": "assert_malformed", "line": 44, "filename": "binary.30.wasm", "text": "unknown binary version", "module_type": "binary"}, 34 {"type": "assert_malformed", "line": 45, "filename": "binary.31.wasm", "text": "unknown binary version", "module_type": "binary"}, 35 {"type": "assert_malformed", "line": 48, "filename": "binary.32.wasm", "text": "malformed section id", "module_type": "binary"}, 36 {"type": "assert_malformed", "line": 49, "filename": "binary.33.wasm", "text": "malformed section id", "module_type": "binary"}, 37 {"type": "assert_malformed", "line": 50, "filename": "binary.34.wasm", "text": "malformed section id", "module_type": "binary"}, 38 {"type": "assert_malformed", "line": 51, "filename": "binary.35.wasm", "text": "malformed section id", "module_type": "binary"}, 39 {"type": "assert_malformed", "line": 52, "filename": "binary.36.wasm", "text": "malformed section id", "module_type": "binary"}, 40 {"type": "module", "line": 55, "filename": "binary.37.wasm"}, 41 {"type": "module", "line": 60, "filename": "binary.38.wasm"}, 42 {"type": "module", "line": 67, "filename": "binary.39.wasm"}, 43 {"type": "module", "line": 74, "filename": "binary.40.wasm"}, 44 {"type": "module", "line": 81, "filename": "binary.41.wasm"}, 45 {"type": "module", "line": 88, "filename": "binary.42.wasm"}, 46 {"type": "module", "line": 96, "filename": "binary.43.wasm"}, 47 {"type": "module", "line": 103, "filename": "binary.44.wasm"}, 48 {"type": "module", "line": 110, "filename": "binary.45.wasm"}, 49 {"type": "module", "line": 117, "filename": "binary.46.wasm"}, 50 {"type": "module", "line": 125, "filename": "binary.47.wasm"}, 51 {"type": "module", "line": 134, "filename": "binary.48.wasm"}, 52 {"type": "module", "line": 144, "filename": "binary.49.wasm"}, 53 {"type": "module", "line": 152, "filename": "binary.50.wasm"}, 54 {"type": "module", "line": 161, "filename": "binary.51.wasm"}, 55 {"type": "module", "line": 172, "filename": "binary.52.wasm"}, 56 {"type": "module", "line": 180, "filename": "binary.53.wasm"}, 57 {"type": "module", "line": 189, "filename": "binary.54.wasm"}, 58 {"type": "module", "line": 198, "filename": "binary.55.wasm"}, 59 {"type": "assert_malformed", "line": 210, "filename": "binary.56.wasm", "text": "integer representation too long", "module_type": "binary"}, 60 {"type": "assert_malformed", "line": 223, "filename": "binary.57.wasm", "text": "integer representation too long", "module_type": "binary"}, 61 {"type": "assert_malformed", "line": 233, "filename": "binary.58.wasm", "text": "integer representation too long", "module_type": "binary"}, 62 {"type": "assert_malformed", "line": 243, "filename": "binary.59.wasm", "text": "integer representation too long", "module_type": "binary"}, 63 {"type": "assert_malformed", "line": 254, "filename": "binary.60.wasm", "text": "integer representation too long", "module_type": "binary"}, 64 {"type": "assert_malformed", "line": 264, "filename": "binary.61.wasm", "text": "integer representation too long", "module_type": "binary"}, 65 {"type": "assert_malformed", "line": 276, "filename": "binary.62.wasm", "text": "integer too large", "module_type": "binary"}, 66 {"type": "assert_malformed", "line": 284, "filename": "binary.63.wasm", "text": "integer too large", "module_type": "binary"}, 67 {"type": "assert_malformed", "line": 294, "filename": "binary.64.wasm", "text": "integer too large", "module_type": "binary"}, 68 {"type": "assert_malformed", "line": 304, "filename": "binary.65.wasm", "text": "integer too large", "module_type": "binary"}, 69 {"type": "assert_malformed", "line": 314, "filename": "binary.66.wasm", "text": "integer too large", "module_type": "binary"}, 70 {"type": "assert_malformed", "line": 324, "filename": "binary.67.wasm", "text": "integer too large", "module_type": "binary"}, 71 {"type": "assert_malformed", "line": 335, "filename": "binary.68.wasm", "text": "integer too large", "module_type": "binary"}, 72 {"type": "assert_malformed", "line": 345, "filename": "binary.69.wasm", "text": "integer too large", "module_type": "binary"}, 73 {"type": "assert_malformed", "line": 355, "filename": "binary.70.wasm", "text": "integer too large", "module_type": "binary"}, 74 {"type": "assert_malformed", "line": 365, "filename": "binary.71.wasm", "text": "integer too large", "module_type": "binary"}, 75 {"type": "assert_malformed", "line": 376, "filename": "binary.72.wasm", "text": "integer too large", "module_type": "binary"}, 76 {"type": "assert_malformed", "line": 386, "filename": "binary.73.wasm", "text": "integer too large", "module_type": "binary"}, 77 {"type": "assert_malformed", "line": 396, "filename": "binary.74.wasm", "text": "integer too large", "module_type": "binary"}, 78 {"type": "assert_malformed", "line": 406, "filename": "binary.75.wasm", "text": "integer too large", "module_type": "binary"}, 79 {"type": "assert_malformed", "line": 418, "filename": "binary.76.wasm", "text": "END opcode expected", "module_type": "binary"}, 80 {"type": "assert_malformed", "line": 439, "filename": "binary.77.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 81 {"type": "assert_malformed", "line": 455, "filename": "binary.78.wasm", "text": "section size mismatch", "module_type": "binary"}, 82 {"type": "assert_malformed", "line": 475, "filename": "binary.79.wasm", "text": "integer representation too long", "module_type": "binary"}, 83 {"type": "assert_malformed", "line": 483, "filename": "binary.80.wasm", "text": "integer representation too long", "module_type": "binary"}, 84 {"type": "assert_malformed", "line": 502, "filename": "binary.81.wasm", "text": "integer representation too long", "module_type": "binary"}, 85 {"type": "assert_malformed", "line": 521, "filename": "binary.82.wasm", "text": "integer representation too long", "module_type": "binary"}, 86 {"type": "assert_malformed", "line": 540, "filename": "binary.83.wasm", "text": "integer representation too long", "module_type": "binary"}, 87 {"type": "assert_malformed", "line": 561, "filename": "binary.84.wasm", "text": "integer representation too long", "module_type": "binary"}, 88 {"type": "assert_malformed", "line": 571, "filename": "binary.85.wasm", "text": "integer representation too long", "module_type": "binary"}, 89 {"type": "assert_malformed", "line": 582, "filename": "binary.86.wasm", "text": "integer representation too long", "module_type": "binary"}, 90 {"type": "assert_malformed", "line": 592, "filename": "binary.87.wasm", "text": "integer representation too long", "module_type": "binary"}, 91 {"type": "assert_malformed", "line": 604, "filename": "binary.88.wasm", "text": "integer too large", "module_type": "binary"}, 92 {"type": "assert_malformed", "line": 612, "filename": "binary.89.wasm", "text": "integer too large", "module_type": "binary"}, 93 {"type": "assert_malformed", "line": 620, "filename": "binary.90.wasm", "text": "integer too large", "module_type": "binary"}, 94 {"type": "assert_malformed", "line": 639, "filename": "binary.91.wasm", "text": "integer too large", "module_type": "binary"}, 95 {"type": "assert_malformed", "line": 658, "filename": "binary.92.wasm", "text": "integer too large", "module_type": "binary"}, 96 {"type": "assert_malformed", "line": 676, "filename": "binary.93.wasm", "text": "integer too large", "module_type": "binary"}, 97 {"type": "assert_malformed", "line": 695, "filename": "binary.94.wasm", "text": "integer too large", "module_type": "binary"}, 98 {"type": "assert_malformed", "line": 714, "filename": "binary.95.wasm", "text": "integer too large", "module_type": "binary"}, 99 {"type": "assert_malformed", "line": 733, "filename": "binary.96.wasm", "text": "integer too large", "module_type": "binary"}, 100 {"type": "assert_malformed", "line": 752, "filename": "binary.97.wasm", "text": "integer too large", "module_type": "binary"}, 101 {"type": "assert_malformed", "line": 774, "filename": "binary.98.wasm", "text": "integer too large", "module_type": "binary"}, 102 {"type": "assert_malformed", "line": 784, "filename": "binary.99.wasm", "text": "integer too large", "module_type": "binary"}, 103 {"type": "assert_malformed", "line": 794, "filename": "binary.100.wasm", "text": "integer too large", "module_type": "binary"}, 104 {"type": "assert_malformed", "line": 804, "filename": "binary.101.wasm", "text": "integer too large", "module_type": "binary"}, 105 {"type": "assert_malformed", "line": 815, "filename": "binary.102.wasm", "text": "integer too large", "module_type": "binary"}, 106 {"type": "assert_malformed", "line": 825, "filename": "binary.103.wasm", "text": "integer too large", "module_type": "binary"}, 107 {"type": "assert_malformed", "line": 835, "filename": "binary.104.wasm", "text": "integer too large", "module_type": "binary"}, 108 {"type": "assert_malformed", "line": 845, "filename": "binary.105.wasm", "text": "integer too large", "module_type": "binary"}, 109 {"type": "assert_malformed", "line": 857, "filename": "binary.106.wasm", "text": "zero byte expected", "module_type": "binary"}, 110 {"type": "assert_malformed", "line": 877, "filename": "binary.107.wasm", "text": "zero byte expected", "module_type": "binary"}, 111 {"type": "assert_malformed", "line": 897, "filename": "binary.108.wasm", "text": "zero byte expected", "module_type": "binary"}, 112 {"type": "assert_malformed", "line": 916, "filename": "binary.109.wasm", "text": "zero byte expected", "module_type": "binary"}, 113 {"type": "assert_malformed", "line": 935, "filename": "binary.110.wasm", "text": "zero byte expected", "module_type": "binary"}, 114 {"type": "assert_malformed", "line": 955, "filename": "binary.111.wasm", "text": "zero byte expected", "module_type": "binary"}, 115 {"type": "assert_malformed", "line": 974, "filename": "binary.112.wasm", "text": "zero byte expected", "module_type": "binary"}, 116 {"type": "assert_malformed", "line": 993, "filename": "binary.113.wasm", "text": "zero byte expected", "module_type": "binary"}, 117 {"type": "assert_malformed", "line": 1011, "filename": "binary.114.wasm", "text": "zero byte expected", "module_type": "binary"}, 118 {"type": "assert_malformed", "line": 1029, "filename": "binary.115.wasm", "text": "zero byte expected", "module_type": "binary"}, 119 {"type": "assert_malformed", "line": 1048, "filename": "binary.116.wasm", "text": "integer too large", "module_type": "binary"}, 120 {"type": "assert_malformed", "line": 1065, "filename": "binary.117.wasm", "text": "integer too large", "module_type": "binary"}, 121 {"type": "assert_malformed", "line": 1082, "filename": "binary.118.wasm", "text": "too many locals", "module_type": "binary"}, 122 {"type": "assert_malformed", "line": 1098, "filename": "binary.119.wasm", "text": "too many locals", "module_type": "binary"}, 123 {"type": "module", "line": 1116, "filename": "binary.120.wasm"}, 124 {"type": "assert_malformed", "line": 1132, "filename": "binary.121.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 125 {"type": "assert_malformed", "line": 1142, "filename": "binary.122.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 126 {"type": "assert_malformed", "line": 1151, "filename": "binary.123.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 127 {"type": "assert_malformed", "line": 1162, "filename": "binary.124.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 128 {"type": "module", "line": 1172, "filename": "binary.125.wasm"}, 129 {"type": "module", "line": 1178, "filename": "binary.126.wasm"}, 130 {"type": "assert_malformed", "line": 1185, "filename": "binary.127.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"}, 131 {"type": "assert_malformed", "line": 1195, "filename": "binary.128.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"}, 132 {"type": "assert_malformed", "line": 1205, "filename": "binary.129.wasm", "text": "data count section required", "module_type": "binary"}, 133 {"type": "assert_malformed", "line": 1227, "filename": "binary.130.wasm", "text": "data count section required", "module_type": "binary"}, 134 {"type": "assert_malformed", "line": 1246, "filename": "binary.131.wasm", "text": "illegal opcode", "module_type": "binary"}, 135 {"type": "assert_malformed", "line": 1272, "filename": "binary.132.wasm", "text": "malformed reference type", "module_type": "binary"}, 136 {"type": "module", "line": 1297, "filename": "binary.133.wasm"}, 137 {"type": "module", "line": 1321, "filename": "binary.134.wasm"}, 138 {"type": "module", "line": 1346, "filename": "binary.135.wasm"}, 139 {"type": "assert_malformed", "line": 1353, "filename": "binary.136.wasm", "text": "length out of bounds", "module_type": "binary"}, 140 {"type": "assert_malformed", "line": 1364, "filename": "binary.137.wasm", "text": "section size mismatch", "module_type": "binary"}, 141 {"type": "module", "line": 1374, "filename": "binary.138.wasm"}, 142 {"type": "assert_malformed", "line": 1383, "filename": "binary.139.wasm", "text": "malformed import kind", "module_type": "binary"}, 143 {"type": "assert_malformed", "line": 1393, "filename": "binary.140.wasm", "text": "malformed import kind", "module_type": "binary"}, 144 {"type": "assert_malformed", "line": 1404, "filename": "binary.141.wasm", "text": "malformed import kind", "module_type": "binary"}, 145 {"type": "assert_malformed", "line": 1414, "filename": "binary.142.wasm", "text": "malformed import kind", "module_type": "binary"}, 146 {"type": "assert_malformed", "line": 1425, "filename": "binary.143.wasm", "text": "malformed import kind", "module_type": "binary"}, 147 {"type": "assert_malformed", "line": 1435, "filename": "binary.144.wasm", "text": "malformed import kind", "module_type": "binary"}, 148 {"type": "assert_malformed", "line": 1448, "filename": "binary.145.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 149 {"type": "assert_malformed", "line": 1467, "filename": "binary.146.wasm", "text": "section size mismatch", "module_type": "binary"}, 150 {"type": "module", "line": 1491, "filename": "binary.147.wasm"}, 151 {"type": "assert_malformed", "line": 1498, "filename": "binary.148.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 152 {"type": "assert_malformed", "line": 1508, "filename": "binary.149.wasm", "text": "integer too large", "module_type": "binary"}, 153 {"type": "assert_malformed", "line": 1517, "filename": "binary.150.wasm", "text": "integer too large", "module_type": "binary"}, 154 {"type": "assert_malformed", "line": 1527, "filename": "binary.151.wasm", "text": "integer representation too long", "module_type": "binary"}, 155 {"type": "module", "line": 1538, "filename": "binary.152.wasm"}, 156 {"type": "assert_malformed", "line": 1545, "filename": "binary.153.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 157 {"type": "assert_malformed", "line": 1555, "filename": "binary.154.wasm", "text": "integer too large", "module_type": "binary"}, 158 {"type": "assert_malformed", "line": 1563, "filename": "binary.155.wasm", "text": "integer too large", "module_type": "binary"}, 159 {"type": "assert_malformed", "line": 1572, "filename": "binary.156.wasm", "text": "integer representation too long", "module_type": "binary"}, 160 {"type": "assert_malformed", "line": 1581, "filename": "binary.157.wasm", "text": "integer representation too long", "module_type": "binary"}, 161 {"type": "module", "line": 1591, "filename": "binary.158.wasm"}, 162 {"type": "assert_malformed", "line": 1598, "filename": "binary.159.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 163 {"type": "assert_malformed", "line": 1609, "filename": "binary.160.wasm", "text": "section size mismatch", "module_type": "binary"}, 164 {"type": "module", "line": 1619, "filename": "binary.161.wasm"}, 165 {"type": "assert_malformed", "line": 1632, "filename": "binary.162.wasm", "text": "length out of bounds", "module_type": "binary"}, 166 {"type": "assert_malformed", "line": 1653, "filename": "binary.163.wasm", "text": "section size mismatch", "module_type": "binary"}, 167 {"type": "module", "line": 1673, "filename": "binary.164.wasm"}, 168 {"type": "assert_malformed", "line": 1687, "filename": "binary.165.wasm", "text": "unexpected end", "module_type": "binary"}, 169 {"type": "assert_malformed", "line": 1703, "filename": "binary.166.wasm", "text": "unexpected end", "module_type": "binary"}, 170 {"type": "assert_malformed", "line": 1720, "filename": "binary.167.wasm", "text": "section size mismatch", "module_type": "binary"}, 171 {"type": "module", "line": 1737, "filename": "binary.168.wasm"}, 172 {"type": "assert_malformed", "line": 1746, "filename": "binary.169.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 173 {"type": "assert_malformed", "line": 1759, "filename": "binary.170.wasm", "text": "section size mismatch", "module_type": "binary"}, 174 {"type": "assert_malformed", "line": 1772, "filename": "binary.171.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 175 {"type": "assert_malformed", "line": 1786, "filename": "binary.172.wasm", "text": "section size mismatch", "module_type": "binary"}, 176 {"type": "module", "line": 1799, "filename": "binary.173.wasm"}, 177 {"type": "assert_malformed", "line": 1817, "filename": "binary.174.wasm", "text": "unexpected end", "module_type": "binary"}, 178 {"type": "module", "line": 1838, "filename": "binary.175.wasm"}, 179 {"type": "assert_malformed", "line": 1852, "filename": "binary.176.wasm", "text": "unexpected content after last section", "module_type": "binary"}]}