wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v1/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": 50, "filename": "binary.32.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    36    {"type": "assert_malformed", "line": 69, "filename": "binary.33.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    37    {"type": "assert_malformed", "line": 88, "filename": "binary.34.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    38    {"type": "assert_malformed", "line": 106, "filename": "binary.35.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    39    {"type": "assert_malformed", "line": 124, "filename": "binary.36.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    40    {"type": "assert_malformed", "line": 143, "filename": "binary.37.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    41    {"type": "assert_malformed", "line": 163, "filename": "binary.38.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    42    {"type": "assert_malformed", "line": 183, "filename": "binary.39.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    43    {"type": "assert_malformed", "line": 202, "filename": "binary.40.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    44    {"type": "assert_malformed", "line": 221, "filename": "binary.41.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    45    {"type": "assert_malformed", "line": 241, "filename": "binary.42.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    46    {"type": "assert_malformed", "line": 260, "filename": "binary.43.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    47    {"type": "assert_malformed", "line": 279, "filename": "binary.44.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    48    {"type": "assert_malformed", "line": 297, "filename": "binary.45.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    49    {"type": "assert_malformed", "line": 315, "filename": "binary.46.wasm", "text": "zero flag expected", "module_type": "binary"}, 
    50    {"type": "assert_malformed", "line": 334, "filename": "binary.47.wasm", "text": "too many locals", "module_type": "binary"}, 
    51    {"type": "module", "line": 350, "filename": "binary.48.wasm"}, 
    52    {"type": "assert_malformed", "line": 366, "filename": "binary.49.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 
    53    {"type": "assert_malformed", "line": 376, "filename": "binary.50.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 
    54    {"type": "assert_malformed", "line": 385, "filename": "binary.51.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 
    55    {"type": "assert_malformed", "line": 396, "filename": "binary.52.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"}, 
    56    {"type": "module", "line": 406, "filename": "binary.53.wasm"}, 
    57    {"type": "module", "line": 412, "filename": "binary.54.wasm"}, 
    58    {"type": "module", "line": 418, "filename": "binary.55.wasm"}, 
    59    {"type": "assert_malformed", "line": 425, "filename": "binary.56.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    60    {"type": "assert_malformed", "line": 436, "filename": "binary.57.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    61    {"type": "module", "line": 446, "filename": "binary.58.wasm"}, 
    62    {"type": "assert_malformed", "line": 455, "filename": "binary.59.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    63    {"type": "assert_malformed", "line": 474, "filename": "binary.60.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    64    {"type": "module", "line": 498, "filename": "binary.61.wasm"}, 
    65    {"type": "assert_malformed", "line": 505, "filename": "binary.62.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    66    {"type": "module", "line": 514, "filename": "binary.63.wasm"}, 
    67    {"type": "assert_malformed", "line": 521, "filename": "binary.64.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    68    {"type": "module", "line": 530, "filename": "binary.65.wasm"}, 
    69    {"type": "assert_malformed", "line": 537, "filename": "binary.66.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    70    {"type": "assert_malformed", "line": 548, "filename": "binary.67.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    71    {"type": "module", "line": 558, "filename": "binary.68.wasm"}, 
    72    {"type": "assert_malformed", "line": 571, "filename": "binary.69.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    73    {"type": "assert_malformed", "line": 592, "filename": "binary.70.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    74    {"type": "module", "line": 612, "filename": "binary.71.wasm"}, 
    75    {"type": "assert_malformed", "line": 626, "filename": "binary.72.wasm", "text": "invalid value type", "module_type": "binary"}, 
    76    {"type": "assert_malformed", "line": 644, "filename": "binary.73.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    77    {"type": "module", "line": 661, "filename": "binary.74.wasm"}, 
    78    {"type": "assert_malformed", "line": 670, "filename": "binary.75.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    79    {"type": "assert_malformed", "line": 683, "filename": "binary.76.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    80    {"type": "assert_malformed", "line": 696, "filename": "binary.77.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    81    {"type": "assert_malformed", "line": 710, "filename": "binary.78.wasm", "text": "section size mismatch", "module_type": "binary"}, 
    82    {"type": "module", "line": 723, "filename": "binary.79.wasm"}, 
    83    {"type": "assert_malformed", "line": 741, "filename": "binary.80.wasm", "text": "unexpected end of section or function", "module_type": "binary"}, 
    84    {"type": "assert_malformed", "line": 763, "filename": "binary.81.wasm", "text": "invalid value type", "module_type": "binary"}]}