wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v1/testdata/unreachable.json (about)

     1  {"source_filename": "./unreachable.wast",
     2   "commands": [
     3    {"type": "module", "line": 3, "filename": "unreachable.0.wasm"}, 
     4    {"type": "assert_trap", "line": 218, "action": {"type": "invoke", "field": "type-i32", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
     5    {"type": "assert_trap", "line": 219, "action": {"type": "invoke", "field": "type-i64", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
     6    {"type": "assert_trap", "line": 220, "action": {"type": "invoke", "field": "type-f32", "args": []}, "text": "unreachable", "expected": [{"type": "f64"}]}, 
     7    {"type": "assert_trap", "line": 221, "action": {"type": "invoke", "field": "type-f64", "args": []}, "text": "unreachable", "expected": [{"type": "f64"}]}, 
     8    {"type": "assert_trap", "line": 223, "action": {"type": "invoke", "field": "as-func-first", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
     9    {"type": "assert_trap", "line": 224, "action": {"type": "invoke", "field": "as-func-mid", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    10    {"type": "assert_trap", "line": 225, "action": {"type": "invoke", "field": "as-func-last", "args": []}, "text": "unreachable", "expected": []}, 
    11    {"type": "assert_trap", "line": 226, "action": {"type": "invoke", "field": "as-func-value", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    12    {"type": "assert_trap", "line": 228, "action": {"type": "invoke", "field": "as-block-first", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    13    {"type": "assert_trap", "line": 229, "action": {"type": "invoke", "field": "as-block-mid", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    14    {"type": "assert_trap", "line": 230, "action": {"type": "invoke", "field": "as-block-last", "args": []}, "text": "unreachable", "expected": []}, 
    15    {"type": "assert_trap", "line": 231, "action": {"type": "invoke", "field": "as-block-value", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    16    {"type": "assert_return", "line": 232, "action": {"type": "invoke", "field": "as-block-broke", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 
    17    {"type": "assert_trap", "line": 234, "action": {"type": "invoke", "field": "as-loop-first", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    18    {"type": "assert_trap", "line": 235, "action": {"type": "invoke", "field": "as-loop-mid", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    19    {"type": "assert_trap", "line": 236, "action": {"type": "invoke", "field": "as-loop-last", "args": []}, "text": "unreachable", "expected": []}, 
    20    {"type": "assert_return", "line": 237, "action": {"type": "invoke", "field": "as-loop-broke", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 
    21    {"type": "assert_trap", "line": 239, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    22    {"type": "assert_trap", "line": 241, "action": {"type": "invoke", "field": "as-br_if-cond", "args": []}, "text": "unreachable", "expected": []}, 
    23    {"type": "assert_trap", "line": 242, "action": {"type": "invoke", "field": "as-br_if-value", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    24    {"type": "assert_trap", "line": 243, "action": {"type": "invoke", "field": "as-br_if-value-cond", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    25    {"type": "assert_trap", "line": 245, "action": {"type": "invoke", "field": "as-br_table-index", "args": []}, "text": "unreachable", "expected": []}, 
    26    {"type": "assert_trap", "line": 246, "action": {"type": "invoke", "field": "as-br_table-value", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    27    {"type": "assert_trap", "line": 247, "action": {"type": "invoke", "field": "as-br_table-value-2", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    28    {"type": "assert_trap", "line": 248, "action": {"type": "invoke", "field": "as-br_table-value-index", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    29    {"type": "assert_trap", "line": 249, "action": {"type": "invoke", "field": "as-br_table-value-and-index", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    30    {"type": "assert_trap", "line": 251, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "text": "unreachable", "expected": [{"type": "i64"}]}, 
    31    {"type": "assert_trap", "line": 253, "action": {"type": "invoke", "field": "as-if-cond", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    32    {"type": "assert_trap", "line": 254, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    33    {"type": "assert_return", "line": 255, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]}, 
    34    {"type": "assert_trap", "line": 256, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    35    {"type": "assert_return", "line": 257, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]}, 
    36    {"type": "assert_trap", "line": 259, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    37    {"type": "assert_trap", "line": 260, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    38    {"type": "assert_trap", "line": 261, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    39    {"type": "assert_trap", "line": 262, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    40    {"type": "assert_trap", "line": 263, "action": {"type": "invoke", "field": "as-select-cond", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    41    {"type": "assert_trap", "line": 265, "action": {"type": "invoke", "field": "as-call-first", "args": []}, "text": "unreachable", "expected": []}, 
    42    {"type": "assert_trap", "line": 266, "action": {"type": "invoke", "field": "as-call-mid", "args": []}, "text": "unreachable", "expected": []}, 
    43    {"type": "assert_trap", "line": 267, "action": {"type": "invoke", "field": "as-call-last", "args": []}, "text": "unreachable", "expected": []}, 
    44    {"type": "assert_trap", "line": 269, "action": {"type": "invoke", "field": "as-call_indirect-func", "args": []}, "text": "unreachable", "expected": []}, 
    45    {"type": "assert_trap", "line": 270, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": []}, "text": "unreachable", "expected": []}, 
    46    {"type": "assert_trap", "line": 271, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": []}, "text": "unreachable", "expected": []}, 
    47    {"type": "assert_trap", "line": 272, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": []}, "text": "unreachable", "expected": []}, 
    48    {"type": "assert_trap", "line": 274, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "text": "unreachable", "expected": []}, 
    49    {"type": "assert_trap", "line": 275, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "text": "unreachable", "expected": [{"type": "f32"}]}, 
    50    {"type": "assert_trap", "line": 276, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "text": "unreachable", "expected": [{"type": "f32"}]}, 
    51    {"type": "assert_trap", "line": 278, "action": {"type": "invoke", "field": "as-load-address", "args": []}, "text": "unreachable", "expected": [{"type": "f32"}]}, 
    52    {"type": "assert_trap", "line": 279, "action": {"type": "invoke", "field": "as-loadN-address", "args": []}, "text": "unreachable", "expected": [{"type": "i64"}]}, 
    53    {"type": "assert_trap", "line": 281, "action": {"type": "invoke", "field": "as-store-address", "args": []}, "text": "unreachable", "expected": []}, 
    54    {"type": "assert_trap", "line": 282, "action": {"type": "invoke", "field": "as-store-value", "args": []}, "text": "unreachable", "expected": []}, 
    55    {"type": "assert_trap", "line": 283, "action": {"type": "invoke", "field": "as-storeN-address", "args": []}, "text": "unreachable", "expected": []}, 
    56    {"type": "assert_trap", "line": 284, "action": {"type": "invoke", "field": "as-storeN-value", "args": []}, "text": "unreachable", "expected": []}, 
    57    {"type": "assert_trap", "line": 286, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "text": "unreachable", "expected": [{"type": "f32"}]}, 
    58    {"type": "assert_trap", "line": 288, "action": {"type": "invoke", "field": "as-binary-left", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    59    {"type": "assert_trap", "line": 289, "action": {"type": "invoke", "field": "as-binary-right", "args": []}, "text": "unreachable", "expected": [{"type": "i64"}]}, 
    60    {"type": "assert_trap", "line": 291, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    61    {"type": "assert_trap", "line": 293, "action": {"type": "invoke", "field": "as-compare-left", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    62    {"type": "assert_trap", "line": 294, "action": {"type": "invoke", "field": "as-compare-right", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    63    {"type": "assert_trap", "line": 296, "action": {"type": "invoke", "field": "as-convert-operand", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}, 
    64    {"type": "assert_trap", "line": 298, "action": {"type": "invoke", "field": "as-memory.grow-size", "args": []}, "text": "unreachable", "expected": [{"type": "i32"}]}]}