{ "source_filename": "tests/testsuite/proposals/wasm-3.0/address0.wast", "commands": [ { "type": "module", "line": 3, "filename": "address0.0.wasm", "module_type": "binary" }, { "type": "assert_return", "line": 105, "action": { "type": "invoke", "field": "8u_good1", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "97" } ] }, { "type": "assert_return", "line": 106, "action": { "type": "invoke", "field": "8u_good2", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "97" } ] }, { "type": "assert_return", "line": 107, "action": { "type": "invoke", "field": "8u_good3", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "98" } ] }, { "type": "assert_return", "line": 108, "action": { "type": "invoke", "field": "8u_good4", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "99" } ] }, { "type": "assert_return", "line": 109, "action": { "type": "invoke", "field": "8u_good5", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "122" } ] }, { "type": "assert_return", "line": 111, "action": { "type": "invoke", "field": "8s_good1", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "97" } ] }, { "type": "assert_return", "line": 112, "action": { "type": "invoke", "field": "8s_good2", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "97" } ] }, { "type": "assert_return", "line": 113, "action": { "type": "invoke", "field": "8s_good3", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "98" } ] }, { "type": "assert_return", "line": 114, "action": { "type": "invoke", "field": "8s_good4", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "99" } ] }, { "type": "assert_return", "line": 115, "action": { "type": "invoke", "field": "8s_good5", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "122" } ] }, { "type": "assert_return", "line": 117, "action": { "type": "invoke", "field": "16u_good1", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25185" } ] }, { "type": "assert_return", "line": 118, "action": { "type": "invoke", "field": "16u_good2", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25185" } ] }, { "type": "assert_return", "line": 119, "action": { "type": "invoke", "field": "16u_good3", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25442" } ] }, { "type": "assert_return", "line": 120, "action": { "type": "invoke", "field": "16u_good4", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25699" } ] }, { "type": "assert_return", "line": 121, "action": { "type": "invoke", "field": "16u_good5", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "122" } ] }, { "type": "assert_return", "line": 123, "action": { "type": "invoke", "field": "16s_good1", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25185" } ] }, { "type": "assert_return", "line": 124, "action": { "type": "invoke", "field": "16s_good2", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25185" } ] }, { "type": "assert_return", "line": 125, "action": { "type": "invoke", "field": "16s_good3", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25442" } ] }, { "type": "assert_return", "line": 126, "action": { "type": "invoke", "field": "16s_good4", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "25699" } ] }, { "type": "assert_return", "line": 127, "action": { "type": "invoke", "field": "16s_good5", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "122" } ] }, { "type": "assert_return", "line": 129, "action": { "type": "invoke", "field": "32_good1", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1684234849" } ] }, { "type": "assert_return", "line": 130, "action": { "type": "invoke", "field": "32_good2", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1684234849" } ] }, { "type": "assert_return", "line": 131, "action": { "type": "invoke", "field": "32_good3", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1701077858" } ] }, { "type": "assert_return", "line": 132, "action": { "type": "invoke", "field": "32_good4", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1717920867" } ] }, { "type": "assert_return", "line": 133, "action": { "type": "invoke", "field": "32_good5", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "122" } ] }, { "type": "assert_return", "line": 135, "action": { "type": "invoke", "field": "8u_good1", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 136, "action": { "type": "invoke", "field": "8u_good2", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 137, "action": { "type": "invoke", "field": "8u_good3", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 138, "action": { "type": "invoke", "field": "8u_good4", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 139, "action": { "type": "invoke", "field": "8u_good5", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 141, "action": { "type": "invoke", "field": "8s_good1", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 142, "action": { "type": "invoke", "field": "8s_good2", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 143, "action": { "type": "invoke", "field": "8s_good3", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 144, "action": { "type": "invoke", "field": "8s_good4", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 145, "action": { "type": "invoke", "field": "8s_good5", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 147, "action": { "type": "invoke", "field": "16u_good1", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 148, "action": { "type": "invoke", "field": "16u_good2", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 149, "action": { "type": "invoke", "field": "16u_good3", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 150, "action": { "type": "invoke", "field": "16u_good4", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 151, "action": { "type": "invoke", "field": "16u_good5", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 153, "action": { "type": "invoke", "field": "16s_good1", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 154, "action": { "type": "invoke", "field": "16s_good2", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 155, "action": { "type": "invoke", "field": "16s_good3", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 156, "action": { "type": "invoke", "field": "16s_good4", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 157, "action": { "type": "invoke", "field": "16s_good5", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 159, "action": { "type": "invoke", "field": "32_good1", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 160, "action": { "type": "invoke", "field": "32_good2", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 161, "action": { "type": "invoke", "field": "32_good3", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 162, "action": { "type": "invoke", "field": "32_good4", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 163, "action": { "type": "invoke", "field": "32_good5", "args": [ { "type": "i32", "value": "65507" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 165, "action": { "type": "invoke", "field": "8u_good1", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 166, "action": { "type": "invoke", "field": "8u_good2", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 167, "action": { "type": "invoke", "field": "8u_good3", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 168, "action": { "type": "invoke", "field": "8u_good4", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 169, "action": { "type": "invoke", "field": "8u_good5", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 171, "action": { "type": "invoke", "field": "8s_good1", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 172, "action": { "type": "invoke", "field": "8s_good2", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 173, "action": { "type": "invoke", "field": "8s_good3", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 174, "action": { "type": "invoke", "field": "8s_good4", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 175, "action": { "type": "invoke", "field": "8s_good5", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 177, "action": { "type": "invoke", "field": "16u_good1", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 178, "action": { "type": "invoke", "field": "16u_good2", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 179, "action": { "type": "invoke", "field": "16u_good3", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 180, "action": { "type": "invoke", "field": "16u_good4", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 181, "action": { "type": "invoke", "field": "16u_good5", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 183, "action": { "type": "invoke", "field": "16s_good1", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 184, "action": { "type": "invoke", "field": "16s_good2", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 185, "action": { "type": "invoke", "field": "16s_good3", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 186, "action": { "type": "invoke", "field": "16s_good4", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 187, "action": { "type": "invoke", "field": "16s_good5", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 189, "action": { "type": "invoke", "field": "32_good1", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 190, "action": { "type": "invoke", "field": "32_good2", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 191, "action": { "type": "invoke", "field": "32_good3", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 192, "action": { "type": "invoke", "field": "32_good4", "args": [ { "type": "i32", "value": "65508" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_trap", "line": 193, "action": { "type": "invoke", "field": "32_good5", "args": [ { "type": "i32", "value": "65508" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 195, "action": { "type": "invoke", "field": "8u_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 196, "action": { "type": "invoke", "field": "8s_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 197, "action": { "type": "invoke", "field": "16u_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 198, "action": { "type": "invoke", "field": "16s_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 199, "action": { "type": "invoke", "field": "32_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 200, "action": { "type": "invoke", "field": "32_good3", "args": [ { "type": "i32", "value": "-1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 202, "action": { "type": "invoke", "field": "8u_bad", "args": [ { "type": "i32", "value": "0" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 203, "action": { "type": "invoke", "field": "8s_bad", "args": [ { "type": "i32", "value": "0" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 204, "action": { "type": "invoke", "field": "16u_bad", "args": [ { "type": "i32", "value": "0" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 205, "action": { "type": "invoke", "field": "16s_bad", "args": [ { "type": "i32", "value": "0" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 206, "action": { "type": "invoke", "field": "32_bad", "args": [ { "type": "i32", "value": "0" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 208, "action": { "type": "invoke", "field": "8u_bad", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 209, "action": { "type": "invoke", "field": "8s_bad", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 210, "action": { "type": "invoke", "field": "16u_bad", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 211, "action": { "type": "invoke", "field": "16s_bad", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "assert_trap", "line": 212, "action": { "type": "invoke", "field": "32_bad", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" } ] }