Updates Spectest to the latest (May 23, 2023) (#1490)

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
Takeshi Yoneda
2023-05-23 15:09:36 +10:00
committed by GitHub
parent 50723a0fd2
commit 4aca6fbd0e
126 changed files with 755 additions and 1537 deletions

View File

@@ -65,21 +65,29 @@
{"type": "assert_malformed", "line": 686, "filename": "binary-leb128.62.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 702, "filename": "binary-leb128.63.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 718, "filename": "binary-leb128.64.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 731, "filename": "binary-leb128.65.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 750, "filename": "binary-leb128.66.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 769, "filename": "binary-leb128.67.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 787, "filename": "binary-leb128.68.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 806, "filename": "binary-leb128.69.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 825, "filename": "binary-leb128.70.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 844, "filename": "binary-leb128.71.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 863, "filename": "binary-leb128.72.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 885, "filename": "binary-leb128.73.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 895, "filename": "binary-leb128.74.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 905, "filename": "binary-leb128.75.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 915, "filename": "binary-leb128.76.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 926, "filename": "binary-leb128.77.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 936, "filename": "binary-leb128.78.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 946, "filename": "binary-leb128.79.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 956, "filename": "binary-leb128.80.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "module", "line": 967, "filename": "binary-leb128.81.wasm"},
{"type": "assert_malformed", "line": 988, "filename": "binary-leb128.82.wasm", "text": "integer representation too long", "module_type": "binary"}]}
{"type": "assert_malformed", "line": 731, "filename": "binary-leb128.65.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 751, "filename": "binary-leb128.66.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 771, "filename": "binary-leb128.67.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 789, "filename": "binary-leb128.68.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 808, "filename": "binary-leb128.69.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 827, "filename": "binary-leb128.70.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 846, "filename": "binary-leb128.71.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 866, "filename": "binary-leb128.72.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 888, "filename": "binary-leb128.73.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 898, "filename": "binary-leb128.74.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 908, "filename": "binary-leb128.75.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 918, "filename": "binary-leb128.76.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 929, "filename": "binary-leb128.77.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 939, "filename": "binary-leb128.78.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 949, "filename": "binary-leb128.79.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 959, "filename": "binary-leb128.80.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "module", "line": 969, "filename": "binary-leb128.81.wasm"},
{"type": "assert_malformed", "line": 990, "filename": "binary-leb128.82.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "module", "line": 1007, "filename": "binary-leb128.83.wasm"},
{"type": "module", "line": 1015, "filename": "binary-leb128.84.wasm"},
{"type": "module", "line": 1024, "filename": "binary-leb128.85.wasm"},
{"type": "module", "line": 1035, "filename": "binary-leb128.86.wasm"},
{"type": "module", "line": 1043, "filename": "binary-leb128.87.wasm"},
{"type": "module", "line": 1052, "filename": "binary-leb128.88.wasm"},
{"type": "module", "line": 1061, "filename": "binary-leb128.89.wasm"},
{"type": "assert_malformed", "line": 1073, "filename": "binary-leb128.90.wasm", "text": "integer representation too long", "module_type": "binary"}]}

View File

@@ -404,19 +404,19 @@
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\80\00" ;; offset 2 with one byte too many
"\1a" ;; drop
"\0b" ;; end
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\80\00" ;; offset 2 with one byte too many
"\1a" ;; drop
"\0b" ;; end
)
"integer representation too long"
)
@@ -461,19 +461,19 @@
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\12\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\12\01" ;; Code section
;; function 0
"\10\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\80\00" ;; offset 2 with one byte too many
"\0b" ;; end
"\10\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\80\00" ;; offset 2 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
@@ -730,40 +730,42 @@
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
;; function 0
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\10" ;; offset 2 with unused bits set
"\1a" ;; drop
"\0b" ;; end
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\10" ;; offset 2 with unused bits set
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
;; TODO: This changes to "integer too large" with memory64.
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
;; function 0
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\40" ;; offset 2 with some unused bits set
"\1a" ;; drop
"\0b" ;; end
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\40" ;; offset 2 with some unused bits set
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
;; TODO: This changes to "integer too large" with memory64.
"integer representation too long"
)
(assert_malformed
(module binary
@@ -843,41 +845,42 @@
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\10" ;; offset 2 with unused bits set
"\0b" ;; end
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\10" ;; offset 2 with unused bits set
"\0b" ;; end
)
"integer too large"
;; TODO: This changes to "integer too large" with memory64.
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\40" ;; offset 2 with some unused bits set
"\0b" ;; end
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\80\80\80\80\80\40" ;; offset 2 with some unused bits set
"\0b" ;; end
)
"integer too large"
;; TODO: This changes to "integer too large" with memory64.
"integer representation too long"
)
;; Signed LEB128s sign-extend
@@ -963,7 +966,6 @@
"integer too large"
)
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01" ;; type section
@@ -1000,3 +1002,81 @@
)
"integer representation too long"
)
;; Data segment tags and memory index can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\07\01" ;; Data section with 1 entry
"\80\00" ;; Active segment, encoded with 2 bytes
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\08\01" ;; Data section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\00" ;; explicit memory index
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\09\01" ;; Data section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\80\00" ;; explicit memory index, encoded with 2 bytes
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
;; Element segment tags and table index can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\07\01" ;; Element section with 1 entry
"\80\00" ;; Active segment
"\41\00\0b\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\09\01" ;; Element section with 1 entry
"\02" ;; Active segment
"\80\00" ;; explicit table index, encoded with 2 bytes
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\09\01" ;; Element section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\00" ;; explicit table index
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\0a\01" ;; Element section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\80\00" ;; explicit table index, encoded with 2 bytes
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
;; Type section with signed LEB128 encoded type
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01" ;; Type section id
"\05" ;; Type section length
"\01" ;; Types vector length
"\e0\7f" ;; Malformed functype, -0x20 in signed LEB128 encoding
"\00\00"
)
"integer representation too long"
)

View File

@@ -37,143 +37,78 @@
{"type": "assert_malformed", "line": 50, "filename": "binary.34.wasm", "text": "malformed section id", "module_type": "binary"},
{"type": "assert_malformed", "line": 51, "filename": "binary.35.wasm", "text": "malformed section id", "module_type": "binary"},
{"type": "assert_malformed", "line": 52, "filename": "binary.36.wasm", "text": "malformed section id", "module_type": "binary"},
{"type": "module", "line": 55, "filename": "binary.37.wasm"},
{"type": "module", "line": 60, "filename": "binary.38.wasm"},
{"type": "module", "line": 67, "filename": "binary.39.wasm"},
{"type": "module", "line": 74, "filename": "binary.40.wasm"},
{"type": "module", "line": 81, "filename": "binary.41.wasm"},
{"type": "module", "line": 88, "filename": "binary.42.wasm"},
{"type": "module", "line": 96, "filename": "binary.43.wasm"},
{"type": "module", "line": 103, "filename": "binary.44.wasm"},
{"type": "module", "line": 110, "filename": "binary.45.wasm"},
{"type": "module", "line": 117, "filename": "binary.46.wasm"},
{"type": "module", "line": 125, "filename": "binary.47.wasm"},
{"type": "module", "line": 134, "filename": "binary.48.wasm"},
{"type": "module", "line": 144, "filename": "binary.49.wasm"},
{"type": "module", "line": 152, "filename": "binary.50.wasm"},
{"type": "module", "line": 161, "filename": "binary.51.wasm"},
{"type": "module", "line": 172, "filename": "binary.52.wasm"},
{"type": "module", "line": 180, "filename": "binary.53.wasm"},
{"type": "module", "line": 189, "filename": "binary.54.wasm"},
{"type": "module", "line": 198, "filename": "binary.55.wasm"},
{"type": "assert_malformed", "line": 210, "filename": "binary.56.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 223, "filename": "binary.57.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 233, "filename": "binary.58.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 243, "filename": "binary.59.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 254, "filename": "binary.60.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 264, "filename": "binary.61.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 276, "filename": "binary.62.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 284, "filename": "binary.63.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 294, "filename": "binary.64.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 304, "filename": "binary.65.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 314, "filename": "binary.66.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 324, "filename": "binary.67.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 335, "filename": "binary.68.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 345, "filename": "binary.69.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 355, "filename": "binary.70.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 365, "filename": "binary.71.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 376, "filename": "binary.72.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 386, "filename": "binary.73.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 396, "filename": "binary.74.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 406, "filename": "binary.75.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 418, "filename": "binary.76.wasm", "text": "END opcode expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 439, "filename": "binary.77.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 455, "filename": "binary.78.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "assert_malformed", "line": 475, "filename": "binary.79.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 483, "filename": "binary.80.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 502, "filename": "binary.81.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 521, "filename": "binary.82.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 540, "filename": "binary.83.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 561, "filename": "binary.84.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 571, "filename": "binary.85.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 582, "filename": "binary.86.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 592, "filename": "binary.87.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 604, "filename": "binary.88.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 612, "filename": "binary.89.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 620, "filename": "binary.90.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 639, "filename": "binary.91.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 658, "filename": "binary.92.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 676, "filename": "binary.93.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 695, "filename": "binary.94.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 714, "filename": "binary.95.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 733, "filename": "binary.96.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 752, "filename": "binary.97.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 774, "filename": "binary.98.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 784, "filename": "binary.99.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 794, "filename": "binary.100.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 804, "filename": "binary.101.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 815, "filename": "binary.102.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 825, "filename": "binary.103.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 835, "filename": "binary.104.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 845, "filename": "binary.105.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 857, "filename": "binary.106.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 877, "filename": "binary.107.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 897, "filename": "binary.108.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 916, "filename": "binary.109.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 935, "filename": "binary.110.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 955, "filename": "binary.111.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 974, "filename": "binary.112.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 993, "filename": "binary.113.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 1011, "filename": "binary.114.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 1029, "filename": "binary.115.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 1048, "filename": "binary.116.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1065, "filename": "binary.117.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1082, "filename": "binary.118.wasm", "text": "too many locals", "module_type": "binary"},
{"type": "assert_malformed", "line": 1098, "filename": "binary.119.wasm", "text": "too many locals", "module_type": "binary"},
{"type": "module", "line": 1116, "filename": "binary.120.wasm"},
{"type": "assert_malformed", "line": 1132, "filename": "binary.121.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 1142, "filename": "binary.122.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 1151, "filename": "binary.123.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 1162, "filename": "binary.124.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "module", "line": 1172, "filename": "binary.125.wasm"},
{"type": "module", "line": 1178, "filename": "binary.126.wasm"},
{"type": "assert_malformed", "line": 1185, "filename": "binary.127.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 1195, "filename": "binary.128.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 1205, "filename": "binary.129.wasm", "text": "data count section required", "module_type": "binary"},
{"type": "assert_malformed", "line": 1227, "filename": "binary.130.wasm", "text": "data count section required", "module_type": "binary"},
{"type": "assert_malformed", "line": 1246, "filename": "binary.131.wasm", "text": "illegal opcode", "module_type": "binary"},
{"type": "assert_malformed", "line": 1272, "filename": "binary.132.wasm", "text": "malformed reference type", "module_type": "binary"},
{"type": "module", "line": 1297, "filename": "binary.133.wasm"},
{"type": "module", "line": 1321, "filename": "binary.134.wasm"},
{"type": "module", "line": 1346, "filename": "binary.135.wasm"},
{"type": "assert_malformed", "line": 1353, "filename": "binary.136.wasm", "text": "length out of bounds", "module_type": "binary"},
{"type": "assert_malformed", "line": 1364, "filename": "binary.137.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1374, "filename": "binary.138.wasm"},
{"type": "assert_malformed", "line": 1383, "filename": "binary.139.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1393, "filename": "binary.140.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1404, "filename": "binary.141.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1414, "filename": "binary.142.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1425, "filename": "binary.143.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1435, "filename": "binary.144.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 1448, "filename": "binary.145.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1467, "filename": "binary.146.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1491, "filename": "binary.147.wasm"},
{"type": "assert_malformed", "line": 1498, "filename": "binary.148.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1508, "filename": "binary.149.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1517, "filename": "binary.150.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1527, "filename": "binary.151.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "module", "line": 1538, "filename": "binary.152.wasm"},
{"type": "assert_malformed", "line": 1545, "filename": "binary.153.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1555, "filename": "binary.154.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1563, "filename": "binary.155.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 1572, "filename": "binary.156.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 1581, "filename": "binary.157.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "module", "line": 1591, "filename": "binary.158.wasm"},
{"type": "assert_malformed", "line": 1598, "filename": "binary.159.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1609, "filename": "binary.160.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1619, "filename": "binary.161.wasm"},
{"type": "assert_malformed", "line": 1632, "filename": "binary.162.wasm", "text": "length out of bounds", "module_type": "binary"},
{"type": "assert_malformed", "line": 1653, "filename": "binary.163.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1673, "filename": "binary.164.wasm"},
{"type": "assert_malformed", "line": 1687, "filename": "binary.165.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "assert_malformed", "line": 1703, "filename": "binary.166.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "assert_malformed", "line": 1720, "filename": "binary.167.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1737, "filename": "binary.168.wasm"},
{"type": "assert_malformed", "line": 1746, "filename": "binary.169.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1759, "filename": "binary.170.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "assert_malformed", "line": 1772, "filename": "binary.171.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1786, "filename": "binary.172.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1799, "filename": "binary.173.wasm"},
{"type": "assert_malformed", "line": 1817, "filename": "binary.174.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "module", "line": 1838, "filename": "binary.175.wasm"},
{"type": "assert_malformed", "line": 1852, "filename": "binary.176.wasm", "text": "unexpected content after last section", "module_type": "binary"}]}
{"type": "assert_malformed", "line": 56, "filename": "binary.37.wasm", "text": "END opcode expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 77, "filename": "binary.38.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 93, "filename": "binary.39.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "assert_malformed", "line": 113, "filename": "binary.40.wasm", "text": "illegal opcode", "module_type": "binary"},
{"type": "assert_malformed", "line": 126, "filename": "binary.41.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 146, "filename": "binary.42.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 166, "filename": "binary.43.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 185, "filename": "binary.44.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 204, "filename": "binary.45.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 224, "filename": "binary.46.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 243, "filename": "binary.47.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 262, "filename": "binary.48.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 280, "filename": "binary.49.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 298, "filename": "binary.50.wasm", "text": "zero byte expected", "module_type": "binary"},
{"type": "assert_malformed", "line": 317, "filename": "binary.51.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 334, "filename": "binary.52.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 351, "filename": "binary.53.wasm", "text": "too many locals", "module_type": "binary"},
{"type": "assert_malformed", "line": 367, "filename": "binary.54.wasm", "text": "too many locals", "module_type": "binary"},
{"type": "module", "line": 385, "filename": "binary.55.wasm"},
{"type": "assert_malformed", "line": 401, "filename": "binary.56.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 411, "filename": "binary.57.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 420, "filename": "binary.58.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 431, "filename": "binary.59.wasm", "text": "function and code section have inconsistent lengths", "module_type": "binary"},
{"type": "module", "line": 441, "filename": "binary.60.wasm"},
{"type": "module", "line": 447, "filename": "binary.61.wasm"},
{"type": "assert_malformed", "line": 454, "filename": "binary.62.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 464, "filename": "binary.63.wasm", "text": "data count and data section have inconsistent lengths", "module_type": "binary"},
{"type": "assert_malformed", "line": 474, "filename": "binary.64.wasm", "text": "data count section required", "module_type": "binary"},
{"type": "assert_malformed", "line": 496, "filename": "binary.65.wasm", "text": "data count section required", "module_type": "binary"},
{"type": "assert_malformed", "line": 515, "filename": "binary.66.wasm", "text": "illegal opcode", "module_type": "binary"},
{"type": "assert_malformed", "line": 541, "filename": "binary.67.wasm", "text": "malformed reference type", "module_type": "binary"},
{"type": "module", "line": 566, "filename": "binary.68.wasm"},
{"type": "module", "line": 590, "filename": "binary.69.wasm"},
{"type": "module", "line": 615, "filename": "binary.70.wasm"},
{"type": "assert_malformed", "line": 622, "filename": "binary.71.wasm", "text": "length out of bounds", "module_type": "binary"},
{"type": "assert_malformed", "line": 633, "filename": "binary.72.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 643, "filename": "binary.73.wasm"},
{"type": "assert_malformed", "line": 652, "filename": "binary.74.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 662, "filename": "binary.75.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 673, "filename": "binary.76.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 683, "filename": "binary.77.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 694, "filename": "binary.78.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 704, "filename": "binary.79.wasm", "text": "malformed import kind", "module_type": "binary"},
{"type": "assert_malformed", "line": 717, "filename": "binary.80.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 736, "filename": "binary.81.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 760, "filename": "binary.82.wasm"},
{"type": "assert_malformed", "line": 767, "filename": "binary.83.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 777, "filename": "binary.84.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 786, "filename": "binary.85.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 796, "filename": "binary.86.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "module", "line": 807, "filename": "binary.87.wasm"},
{"type": "assert_malformed", "line": 814, "filename": "binary.88.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 824, "filename": "binary.89.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 832, "filename": "binary.90.wasm", "text": "integer too large", "module_type": "binary"},
{"type": "assert_malformed", "line": 841, "filename": "binary.91.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "assert_malformed", "line": 850, "filename": "binary.92.wasm", "text": "integer representation too long", "module_type": "binary"},
{"type": "module", "line": 860, "filename": "binary.93.wasm"},
{"type": "assert_malformed", "line": 867, "filename": "binary.94.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 878, "filename": "binary.95.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 888, "filename": "binary.96.wasm"},
{"type": "assert_malformed", "line": 901, "filename": "binary.97.wasm", "text": "length out of bounds", "module_type": "binary"},
{"type": "assert_malformed", "line": 922, "filename": "binary.98.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 942, "filename": "binary.99.wasm"},
{"type": "assert_malformed", "line": 956, "filename": "binary.100.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "assert_malformed", "line": 972, "filename": "binary.101.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "assert_malformed", "line": 989, "filename": "binary.102.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1006, "filename": "binary.103.wasm"},
{"type": "assert_malformed", "line": 1015, "filename": "binary.104.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1028, "filename": "binary.105.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "assert_malformed", "line": 1041, "filename": "binary.106.wasm", "text": "unexpected end of section or function", "module_type": "binary"},
{"type": "assert_malformed", "line": 1055, "filename": "binary.107.wasm", "text": "section size mismatch", "module_type": "binary"},
{"type": "module", "line": 1068, "filename": "binary.108.wasm"},
{"type": "assert_malformed", "line": 1086, "filename": "binary.109.wasm", "text": "unexpected end", "module_type": "binary"},
{"type": "module", "line": 1107, "filename": "binary.110.wasm"},
{"type": "assert_malformed", "line": 1121, "filename": "binary.111.wasm", "text": "unexpected content after last section", "module_type": "binary"}]}

View File

@@ -45,373 +45,11 @@
(assert_malformed (module binary "\00asm\00\00\00\01") "unknown binary version")
;; Invalid section id.
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0d\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\7f\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\80\00\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\81\00\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\ff\00\01\00") "malformed section id")
;; Unsigned LEB128 can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\05\04\01" ;; Memory section with 1 entry
"\00\82\00" ;; no max, minimum 2
)
(module binary
"\00asm" "\01\00\00\00"
"\05\07\01" ;; Memory section with 1 entry
"\00\82\80\80\80\00" ;; no max, minimum 2
)
;; Signed LEB128 can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\06\07\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\00" ;; i32.const 0
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\07\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\7f" ;; i32.const -1
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\00" ;; i32.const 0
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\7f" ;; i32.const -1
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\07\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\00" ;; i64.const 0 with unused bits set
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\07\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\7f" ;; i64.const -1 with unused bits unset
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\00" ;; i64.const 0 with unused bits set
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\7f" ;; i64.const -1 with unused bits unset
"\0b" ;; end
)
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\06\01" ;; Data section with 1 entry
"\00" ;; Memory index 0
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\06\01" ;; Element section with 1 entry
"\00" ;; Table index 0
"\41\00\0b\00" ;; (i32.const 0) with no elements
)
;; Data segment tags and memory index can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\07\01" ;; Data section with 1 entry
"\80\00" ;; Active segment, encoded with 2 bytes
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\08\01" ;; Data section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\00" ;; explicit memory index
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
(module binary
"\00asm" "\01\00\00\00"
"\05\03\01" ;; Memory section with 1 entry
"\00\00" ;; no max, minimum 0
"\0b\09\01" ;; Data section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\80\00" ;; explicit memory index, encoded with 2 bytes
"\41\00\0b\00" ;; (i32.const 0) with contents ""
)
;; Element segment tags and table index can have non-minimal length
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\07\01" ;; Element section with 1 entry
"\80\00" ;; Active segment
"\41\00\0b\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\09\01" ;; Element section with 1 entry
"\02" ;; Active segment
"\80\00" ;; explicit table index, encoded with 2 bytes
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\09\01" ;; Element section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\00" ;; explicit table index
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
(module binary
"\00asm" "\01\00\00\00"
"\04\04\01" ;; Table section with 1 entry
"\70\00\00" ;; no max, minimum 0, funcref
"\09\0a\01" ;; Element section with 1 entry
"\82\00" ;; Active segment, encoded with 2 bytes
"\80\00" ;; explicit table index, encoded with 2 bytes
"\41\00\0b\00\00" ;; (i32.const 0) with no elements
)
;; Type section with signed LEB128 encoded type
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01" ;; Type section id
"\05" ;; Type section length
"\01" ;; Types vector length
"\e0\7f" ;; Malformed functype, -0x20 in signed LEB128 encoding
"\00\00"
)
"integer representation too long"
)
;; Unsigned LEB128 must not be overlong
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\08\01" ;; Memory section with 1 entry
"\00\82\80\80\80\80\00" ;; no max, minimum 2 with one byte too many
)
"integer representation too long"
)
;; Signed LEB128 must not be overlong
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0b\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\80\00" ;; i32.const 0 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0b\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\ff\7f" ;; i32.const -1 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\10\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\80\00" ;; i64.const 0 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\10\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\ff\7f" ;; i64.const -1 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
;; Unsigned LEB128s zero-extend
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\07\01" ;; Memory section with 1 entry
"\00\82\80\80\80\70" ;; no max, minimum 2 with unused bits set
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\07\01" ;; Memory section with 1 entry
"\00\82\80\80\80\40" ;; no max, minimum 2 with some unused bits set
)
"integer too large"
)
;; Signed LEB128s sign-extend
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\70" ;; i32.const 0 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\0f" ;; i32.const -1 with unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\1f" ;; i32.const 0 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\4f" ;; i32.const -1 with some unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\7e" ;; i64.const 0 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\01" ;; i64.const -1 with unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\02" ;; i64.const 0 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\41" ;; i64.const -1 with some unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\7e" ;; i64.const 0 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\01" ;; i64.const -1 with unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\02" ;; i64.const 0 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\41" ;; i64.const -1 with some unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0e\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\7f\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\80\01\00\01\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\81\01\00\01\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\ff\01\00\01\01\00") "malformed section id")
;; Function with missing end marker (between two functions)
(assert_malformed
@@ -470,386 +108,17 @@
"section size mismatch"
)
;; Unsigned LEB128 must not be overlong
;; Init expression with missing end marker
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\08\01" ;; Memory section with 1 entry
"\00\82\80\80\80\80\00" ;; no max, minimum 2 with one byte too many
"\01\04\01\60\00\00" ;; Type section: 1 type
"\03\02\01\00" ;; Function section: 1 function
"\06\05\01\7f\00\41\00" ;; Global section: 1 entry with missing end marker
;; Missing end marker here
"\0a\04\01\02\00\0b" ;; Code section: 1 function
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\80\00" ;; offset 2 with one byte too many
"\1a" ;; drop
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\82\80\80\80\80\00" ;; alignment 2 with one byte too many
"\00" ;; offset 0
"\1a" ;; drop
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\12\01" ;; Code section
;; function 0
"\10\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\82\80\80\80\80\00" ;; alignment 2 with one byte too many
"\03" ;; offset 3
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\12\01" ;; Code section
;; function 0
"\10\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\80\00" ;; offset 2 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
;; Signed LEB128 must not be overlong
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0b\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\80\00" ;; i32.const 0 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0b\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\ff\7f" ;; i32.const -1 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\10\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\80\00" ;; i64.const 0 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\10\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\ff\7f" ;; i64.const -1 with one byte too many
"\0b" ;; end
)
"integer representation too long"
)
;; Unsigned LEB128s zero-extend
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\07\01" ;; Memory section with 1 entry
"\00\82\80\80\80\70" ;; no max, minimum 2 with unused bits set
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\05\07\01" ;; Memory section with 1 entry
"\00\82\80\80\80\40" ;; no max, minimum 2 with some unused bits set
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
;; function 0
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\10" ;; offset 2 with unused bits set
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
;; function 0
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\02" ;; alignment 2
"\82\80\80\80\40" ;; offset 2 with some unused bits set
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\82\80\80\80\10" ;; alignment 2 with unused bits set
"\00" ;; offset 0
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\10\01" ;; Code section
;; function 0
"\0e\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\28" ;; i32.load
"\82\80\80\80\40" ;; alignment 2 with some unused bits set
"\00" ;; offset 0
"\1a" ;; drop
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\82\80\80\80\10" ;; alignment 2 with unused bits set
"\03" ;; offset 3
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\82\80\80\80\40" ;; alignment 2 with some unused bits set
"\03" ;; offset 3
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\10" ;; offset 2 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\01\04\01\60\00\00" ;; Type section
"\03\02\01\00" ;; Function section
"\05\03\01\00\01" ;; Memory section
"\0a\11\01" ;; Code section
;; function 0
"\0f\01\01" ;; local type count
"\7f" ;; i32
"\41\00" ;; i32.const 0
"\41\03" ;; i32.const 3
"\36" ;; i32.store
"\02" ;; alignment 2
"\82\80\80\80\40" ;; offset 2 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
;; Signed LEB128s sign-extend
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\70" ;; i32.const 0 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\0f" ;; i32.const -1 with unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\80\80\80\80\1f" ;; i32.const 0 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0a\01" ;; Global section with 1 entry
"\7f\00" ;; i32, immutable
"\41\ff\ff\ff\ff\4f" ;; i32.const -1 with some unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\7e" ;; i64.const 0 with unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\01" ;; i64.const -1 with unused bits unset
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\80\80\80\80\80\80\80\80\80\02" ;; i64.const 0 with some unused bits set
"\0b" ;; end
)
"integer too large"
)
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
"\06\0f\01" ;; Global section with 1 entry
"\7e\00" ;; i64, immutable
"\42\ff\ff\ff\ff\ff\ff\ff\ff\ff\41" ;; i64.const -1 with some unused bits unset
"\0b" ;; end
)
"integer too large"
"illegal opcode"
)
;; memory.grow reserved byte equal to zero.

View File

@@ -1,176 +1,176 @@
{"source_filename": "./br_table.wast",
"commands": [
{"type": "module", "line": 3, "filename": "br_table.0.wasm"},
{"type": "assert_return", "line": 1256, "action": {"type": "invoke", "field": "type-i32", "args": []}, "expected": []},
{"type": "assert_return", "line": 1257, "action": {"type": "invoke", "field": "type-i64", "args": []}, "expected": []},
{"type": "assert_return", "line": 1258, "action": {"type": "invoke", "field": "type-f32", "args": []}, "expected": []},
{"type": "assert_return", "line": 1259, "action": {"type": "invoke", "field": "type-f64", "args": []}, "expected": []},
{"type": "assert_return", "line": 1261, "action": {"type": "invoke", "field": "type-i32-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1262, "action": {"type": "invoke", "field": "type-i64-value", "args": []}, "expected": [{"type": "i64", "value": "2"}]},
{"type": "assert_return", "line": 1263, "action": {"type": "invoke", "field": "type-f32-value", "args": []}, "expected": [{"type": "f32", "value": "1077936128"}]},
{"type": "assert_return", "line": 1264, "action": {"type": "invoke", "field": "type-f64-value", "args": []}, "expected": [{"type": "f64", "value": "4616189618054758400"}]},
{"type": "assert_return", "line": 1266, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1267, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1268, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1269, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1270, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1271, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1273, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1274, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1275, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1276, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1277, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1278, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1280, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1281, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1282, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1283, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1284, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1285, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1287, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "32"}]},
{"type": "assert_return", "line": 1288, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1289, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1290, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1291, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1292, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1294, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "103"}]},
{"type": "assert_return", "line": 1295, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "102"}]},
{"type": "assert_return", "line": 1296, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "101"}]},
{"type": "assert_return", "line": 1297, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "100"}]},
{"type": "assert_return", "line": 1298, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1299, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1300, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1301, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1302, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1303, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1305, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "213"}]},
{"type": "assert_return", "line": 1306, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "212"}]},
{"type": "assert_return", "line": 1307, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "211"}]},
{"type": "assert_return", "line": 1308, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "210"}]},
{"type": "assert_return", "line": 1309, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1310, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1311, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1312, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1313, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1314, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1316, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1317, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1318, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "100"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1319, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "101"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1320, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "10000"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1321, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "10001"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1322, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1000000"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1323, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1000001"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1325, "action": {"type": "invoke", "field": "as-block-first", "args": []}, "expected": []},
{"type": "assert_return", "line": 1326, "action": {"type": "invoke", "field": "as-block-mid", "args": []}, "expected": []},
{"type": "assert_return", "line": 1327, "action": {"type": "invoke", "field": "as-block-last", "args": []}, "expected": []},
{"type": "assert_return", "line": 1328, "action": {"type": "invoke", "field": "as-block-value", "args": []}, "expected": [{"type": "i32", "value": "2"}]},
{"type": "assert_return", "line": 1330, "action": {"type": "invoke", "field": "as-loop-first", "args": []}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1331, "action": {"type": "invoke", "field": "as-loop-mid", "args": []}, "expected": [{"type": "i32", "value": "4"}]},
{"type": "assert_return", "line": 1332, "action": {"type": "invoke", "field": "as-loop-last", "args": []}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1334, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1336, "action": {"type": "invoke", "field": "as-br_if-cond", "args": []}, "expected": []},
{"type": "assert_return", "line": 1337, "action": {"type": "invoke", "field": "as-br_if-value", "args": []}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1338, "action": {"type": "invoke", "field": "as-br_if-value-cond", "args": []}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1340, "action": {"type": "invoke", "field": "as-br_table-index", "args": []}, "expected": []},
{"type": "assert_return", "line": 1341, "action": {"type": "invoke", "field": "as-br_table-value", "args": []}, "expected": [{"type": "i32", "value": "10"}]},
{"type": "assert_return", "line": 1342, "action": {"type": "invoke", "field": "as-br_table-value-index", "args": []}, "expected": [{"type": "i32", "value": "11"}]},
{"type": "assert_return", "line": 1344, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "expected": [{"type": "i64", "value": "7"}]},
{"type": "assert_return", "line": 1346, "action": {"type": "invoke", "field": "as-if-cond", "args": []}, "expected": [{"type": "i32", "value": "2"}]},
{"type": "assert_return", "line": 1347, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1348, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1349, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "4"}]},
{"type": "assert_return", "line": 1350, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1352, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1353, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1354, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1355, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1356, "action": {"type": "invoke", "field": "as-select-cond", "args": []}, "expected": [{"type": "i32", "value": "7"}]},
{"type": "assert_return", "line": 1358, "action": {"type": "invoke", "field": "as-call-first", "args": []}, "expected": [{"type": "i32", "value": "12"}]},
{"type": "assert_return", "line": 1359, "action": {"type": "invoke", "field": "as-call-mid", "args": []}, "expected": [{"type": "i32", "value": "13"}]},
{"type": "assert_return", "line": 1360, "action": {"type": "invoke", "field": "as-call-last", "args": []}, "expected": [{"type": "i32", "value": "14"}]},
{"type": "assert_return", "line": 1362, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": []}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1363, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": []}, "expected": [{"type": "i32", "value": "21"}]},
{"type": "assert_return", "line": 1364, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": []}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1365, "action": {"type": "invoke", "field": "as-call_indirect-func", "args": []}, "expected": [{"type": "i32", "value": "23"}]},
{"type": "assert_return", "line": 1367, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1368, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1369, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1371, "action": {"type": "invoke", "field": "as-load-address", "args": []}, "expected": [{"type": "f32", "value": "1071225242"}]},
{"type": "assert_return", "line": 1372, "action": {"type": "invoke", "field": "as-loadN-address", "args": []}, "expected": [{"type": "i64", "value": "30"}]},
{"type": "assert_return", "line": 1374, "action": {"type": "invoke", "field": "as-store-address", "args": []}, "expected": [{"type": "i32", "value": "30"}]},
{"type": "assert_return", "line": 1375, "action": {"type": "invoke", "field": "as-store-value", "args": []}, "expected": [{"type": "i32", "value": "31"}]},
{"type": "assert_return", "line": 1376, "action": {"type": "invoke", "field": "as-storeN-address", "args": []}, "expected": [{"type": "i32", "value": "32"}]},
{"type": "assert_return", "line": 1377, "action": {"type": "invoke", "field": "as-storeN-value", "args": []}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1379, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "expected": [{"type": "f32", "value": "1079613850"}]},
{"type": "assert_return", "line": 1381, "action": {"type": "invoke", "field": "as-binary-left", "args": []}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1382, "action": {"type": "invoke", "field": "as-binary-right", "args": []}, "expected": [{"type": "i64", "value": "45"}]},
{"type": "assert_return", "line": 1384, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "expected": [{"type": "i32", "value": "44"}]},
{"type": "assert_return", "line": 1386, "action": {"type": "invoke", "field": "as-compare-left", "args": []}, "expected": [{"type": "i32", "value": "43"}]},
{"type": "assert_return", "line": 1387, "action": {"type": "invoke", "field": "as-compare-right", "args": []}, "expected": [{"type": "i32", "value": "42"}]},
{"type": "assert_return", "line": 1389, "action": {"type": "invoke", "field": "as-convert-operand", "args": []}, "expected": [{"type": "i32", "value": "41"}]},
{"type": "assert_return", "line": 1391, "action": {"type": "invoke", "field": "as-memory.grow-size", "args": []}, "expected": [{"type": "i32", "value": "40"}]},
{"type": "assert_return", "line": 1393, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "19"}]},
{"type": "assert_return", "line": 1394, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1395, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1396, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1397, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1398, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "100000"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1400, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1401, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1402, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1403, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1404, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "4294967292"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1405, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "10213210"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1407, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1408, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1409, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1410, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "9"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1411, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "4294967287"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1412, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "999999"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1414, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1415, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1416, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1417, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1418, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "4293967296"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1419, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "9423975"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1421, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1422, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1423, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1424, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "9"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1425, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "4294967287"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1426, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "999999"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1428, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1429, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1430, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1431, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1432, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "4293967296"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1433, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "9423975"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1435, "action": {"type": "invoke", "field": "nested-br_table-loop-block", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1437, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "0"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_return", "line": 1438, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "1"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_return", "line": 1439, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "2"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_invalid", "line": 1442, "filename": "br_table.1.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1449, "filename": "br_table.2.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1456, "filename": "br_table.3.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1462, "filename": "br_table.4.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1470, "filename": "br_table.5.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1481, "filename": "br_table.6.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1492, "filename": "br_table.7.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1498, "filename": "br_table.8.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1504, "filename": "br_table.9.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1510, "filename": "br_table.10.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1516, "filename": "br_table.11.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1525, "filename": "br_table.12.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1532, "filename": "br_table.13.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1544, "filename": "br_table.14.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1556, "filename": "br_table.15.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1567, "filename": "br_table.16.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1579, "filename": "br_table.17.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1591, "filename": "br_table.18.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1605, "filename": "br_table.19.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1611, "filename": "br_table.20.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1617, "filename": "br_table.21.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1624, "filename": "br_table.22.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1630, "filename": "br_table.23.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1636, "filename": "br_table.24.wasm", "text": "unknown label", "module_type": "binary"}]}
{"type": "assert_return", "line": 1007, "action": {"type": "invoke", "field": "type-i32", "args": []}, "expected": []},
{"type": "assert_return", "line": 1008, "action": {"type": "invoke", "field": "type-i64", "args": []}, "expected": []},
{"type": "assert_return", "line": 1009, "action": {"type": "invoke", "field": "type-f32", "args": []}, "expected": []},
{"type": "assert_return", "line": 1010, "action": {"type": "invoke", "field": "type-f64", "args": []}, "expected": []},
{"type": "assert_return", "line": 1012, "action": {"type": "invoke", "field": "type-i32-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1013, "action": {"type": "invoke", "field": "type-i64-value", "args": []}, "expected": [{"type": "i64", "value": "2"}]},
{"type": "assert_return", "line": 1014, "action": {"type": "invoke", "field": "type-f32-value", "args": []}, "expected": [{"type": "f32", "value": "1077936128"}]},
{"type": "assert_return", "line": 1015, "action": {"type": "invoke", "field": "type-f64-value", "args": []}, "expected": [{"type": "f64", "value": "4616189618054758400"}]},
{"type": "assert_return", "line": 1017, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1018, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1019, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1020, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1021, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1022, "action": {"type": "invoke", "field": "empty", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1024, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1025, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1026, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1027, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1028, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1029, "action": {"type": "invoke", "field": "empty-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1031, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1032, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1033, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1034, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1035, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1036, "action": {"type": "invoke", "field": "singleton", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1038, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "32"}]},
{"type": "assert_return", "line": 1039, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1040, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1041, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1042, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967196"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1043, "action": {"type": "invoke", "field": "singleton-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1045, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "103"}]},
{"type": "assert_return", "line": 1046, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "102"}]},
{"type": "assert_return", "line": 1047, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "101"}]},
{"type": "assert_return", "line": 1048, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "100"}]},
{"type": "assert_return", "line": 1049, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1050, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1051, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1052, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1053, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1054, "action": {"type": "invoke", "field": "multiple", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "104"}]},
{"type": "assert_return", "line": 1056, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "213"}]},
{"type": "assert_return", "line": 1057, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "212"}]},
{"type": "assert_return", "line": 1058, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "211"}]},
{"type": "assert_return", "line": 1059, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "210"}]},
{"type": "assert_return", "line": 1060, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1061, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1062, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1063, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1064, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1065, "action": {"type": "invoke", "field": "multiple-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "214"}]},
{"type": "assert_return", "line": 1067, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1068, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1069, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "100"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1070, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "101"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1071, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "10000"}]}, "expected": [{"type": "i32", "value": "0"}]},
{"type": "assert_return", "line": 1072, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "10001"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1073, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1000000"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1074, "action": {"type": "invoke", "field": "large", "args": [{"type": "i32", "value": "1000001"}]}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1076, "action": {"type": "invoke", "field": "as-block-first", "args": []}, "expected": []},
{"type": "assert_return", "line": 1077, "action": {"type": "invoke", "field": "as-block-mid", "args": []}, "expected": []},
{"type": "assert_return", "line": 1078, "action": {"type": "invoke", "field": "as-block-last", "args": []}, "expected": []},
{"type": "assert_return", "line": 1079, "action": {"type": "invoke", "field": "as-block-value", "args": []}, "expected": [{"type": "i32", "value": "2"}]},
{"type": "assert_return", "line": 1081, "action": {"type": "invoke", "field": "as-loop-first", "args": []}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1082, "action": {"type": "invoke", "field": "as-loop-mid", "args": []}, "expected": [{"type": "i32", "value": "4"}]},
{"type": "assert_return", "line": 1083, "action": {"type": "invoke", "field": "as-loop-last", "args": []}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1085, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1087, "action": {"type": "invoke", "field": "as-br_if-cond", "args": []}, "expected": []},
{"type": "assert_return", "line": 1088, "action": {"type": "invoke", "field": "as-br_if-value", "args": []}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1089, "action": {"type": "invoke", "field": "as-br_if-value-cond", "args": []}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1091, "action": {"type": "invoke", "field": "as-br_table-index", "args": []}, "expected": []},
{"type": "assert_return", "line": 1092, "action": {"type": "invoke", "field": "as-br_table-value", "args": []}, "expected": [{"type": "i32", "value": "10"}]},
{"type": "assert_return", "line": 1093, "action": {"type": "invoke", "field": "as-br_table-value-index", "args": []}, "expected": [{"type": "i32", "value": "11"}]},
{"type": "assert_return", "line": 1095, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "expected": [{"type": "i64", "value": "7"}]},
{"type": "assert_return", "line": 1097, "action": {"type": "invoke", "field": "as-if-cond", "args": []}, "expected": [{"type": "i32", "value": "2"}]},
{"type": "assert_return", "line": 1098, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1099, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1100, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "4"}]},
{"type": "assert_return", "line": 1101, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1103, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1104, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "5"}]},
{"type": "assert_return", "line": 1105, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1106, "action": {"type": "invoke", "field": "as-select-second", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "6"}]}, "expected": [{"type": "i32", "value": "6"}]},
{"type": "assert_return", "line": 1107, "action": {"type": "invoke", "field": "as-select-cond", "args": []}, "expected": [{"type": "i32", "value": "7"}]},
{"type": "assert_return", "line": 1109, "action": {"type": "invoke", "field": "as-call-first", "args": []}, "expected": [{"type": "i32", "value": "12"}]},
{"type": "assert_return", "line": 1110, "action": {"type": "invoke", "field": "as-call-mid", "args": []}, "expected": [{"type": "i32", "value": "13"}]},
{"type": "assert_return", "line": 1111, "action": {"type": "invoke", "field": "as-call-last", "args": []}, "expected": [{"type": "i32", "value": "14"}]},
{"type": "assert_return", "line": 1113, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": []}, "expected": [{"type": "i32", "value": "20"}]},
{"type": "assert_return", "line": 1114, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": []}, "expected": [{"type": "i32", "value": "21"}]},
{"type": "assert_return", "line": 1115, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": []}, "expected": [{"type": "i32", "value": "22"}]},
{"type": "assert_return", "line": 1116, "action": {"type": "invoke", "field": "as-call_indirect-func", "args": []}, "expected": [{"type": "i32", "value": "23"}]},
{"type": "assert_return", "line": 1118, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1119, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1120, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]},
{"type": "assert_return", "line": 1122, "action": {"type": "invoke", "field": "as-load-address", "args": []}, "expected": [{"type": "f32", "value": "1071225242"}]},
{"type": "assert_return", "line": 1123, "action": {"type": "invoke", "field": "as-loadN-address", "args": []}, "expected": [{"type": "i64", "value": "30"}]},
{"type": "assert_return", "line": 1125, "action": {"type": "invoke", "field": "as-store-address", "args": []}, "expected": [{"type": "i32", "value": "30"}]},
{"type": "assert_return", "line": 1126, "action": {"type": "invoke", "field": "as-store-value", "args": []}, "expected": [{"type": "i32", "value": "31"}]},
{"type": "assert_return", "line": 1127, "action": {"type": "invoke", "field": "as-storeN-address", "args": []}, "expected": [{"type": "i32", "value": "32"}]},
{"type": "assert_return", "line": 1128, "action": {"type": "invoke", "field": "as-storeN-value", "args": []}, "expected": [{"type": "i32", "value": "33"}]},
{"type": "assert_return", "line": 1130, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "expected": [{"type": "f32", "value": "1079613850"}]},
{"type": "assert_return", "line": 1132, "action": {"type": "invoke", "field": "as-binary-left", "args": []}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1133, "action": {"type": "invoke", "field": "as-binary-right", "args": []}, "expected": [{"type": "i64", "value": "45"}]},
{"type": "assert_return", "line": 1135, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "expected": [{"type": "i32", "value": "44"}]},
{"type": "assert_return", "line": 1137, "action": {"type": "invoke", "field": "as-compare-left", "args": []}, "expected": [{"type": "i32", "value": "43"}]},
{"type": "assert_return", "line": 1138, "action": {"type": "invoke", "field": "as-compare-right", "args": []}, "expected": [{"type": "i32", "value": "42"}]},
{"type": "assert_return", "line": 1140, "action": {"type": "invoke", "field": "as-convert-operand", "args": []}, "expected": [{"type": "i32", "value": "41"}]},
{"type": "assert_return", "line": 1142, "action": {"type": "invoke", "field": "as-memory.grow-size", "args": []}, "expected": [{"type": "i32", "value": "40"}]},
{"type": "assert_return", "line": 1144, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "19"}]},
{"type": "assert_return", "line": 1145, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1146, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1147, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1148, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1149, "action": {"type": "invoke", "field": "nested-block-value", "args": [{"type": "i32", "value": "100000"}]}, "expected": [{"type": "i32", "value": "16"}]},
{"type": "assert_return", "line": 1151, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1152, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1153, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1154, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "11"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1155, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "4294967292"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1156, "action": {"type": "invoke", "field": "nested-br-value", "args": [{"type": "i32", "value": "10213210"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1158, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1159, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1160, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1161, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "9"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1162, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "4294967287"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1163, "action": {"type": "invoke", "field": "nested-br_if-value", "args": [{"type": "i32", "value": "999999"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1165, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1166, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1167, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1168, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1169, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "4293967296"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1170, "action": {"type": "invoke", "field": "nested-br_if-value-cond", "args": [{"type": "i32", "value": "9423975"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1172, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "17"}]},
{"type": "assert_return", "line": 1173, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1174, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1175, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "9"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1176, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "4294967287"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1177, "action": {"type": "invoke", "field": "nested-br_table-value", "args": [{"type": "i32", "value": "999999"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1179, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1180, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "8"}]},
{"type": "assert_return", "line": 1181, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1182, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1183, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "4293967296"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1184, "action": {"type": "invoke", "field": "nested-br_table-value-index", "args": [{"type": "i32", "value": "9423975"}]}, "expected": [{"type": "i32", "value": "9"}]},
{"type": "assert_return", "line": 1186, "action": {"type": "invoke", "field": "nested-br_table-loop-block", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "3"}]},
{"type": "assert_return", "line": 1188, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "0"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_return", "line": 1189, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "1"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_return", "line": 1190, "action": {"type": "invoke", "field": "meet-externref", "args": [{"type": "i32", "value": "2"}, {"type": "externref", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]},
{"type": "assert_invalid", "line": 1193, "filename": "br_table.1.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1200, "filename": "br_table.2.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1207, "filename": "br_table.3.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1213, "filename": "br_table.4.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1221, "filename": "br_table.5.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1232, "filename": "br_table.6.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1243, "filename": "br_table.7.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1249, "filename": "br_table.8.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1255, "filename": "br_table.9.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1261, "filename": "br_table.10.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1267, "filename": "br_table.11.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1276, "filename": "br_table.12.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1283, "filename": "br_table.13.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1295, "filename": "br_table.14.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1307, "filename": "br_table.15.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1318, "filename": "br_table.16.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1330, "filename": "br_table.17.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1342, "filename": "br_table.18.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 1356, "filename": "br_table.19.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1362, "filename": "br_table.20.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1368, "filename": "br_table.21.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1375, "filename": "br_table.22.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1381, "filename": "br_table.23.wasm", "text": "unknown label", "module_type": "binary"},
{"type": "assert_invalid", "line": 1387, "filename": "br_table.24.wasm", "text": "unknown label", "module_type": "binary"}]}

Some files were not shown because too many files have changed in this diff Show More