Skip to content

Commit 6faed61

Browse files
authored
[test] Update bits used for malformed memory/table/global flags (#1936)
1 parent 1939d97 commit 6faed61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/core/binary.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@
815815
"\00asm" "\01\00\00\00"
816816
"\04\04\01" ;; table section with one entry
817817
"\70" ;; anyfunc
818-
"\02" ;; malformed table limits flag
818+
"\08" ;; malformed table limits flag
819819
"\00" ;; dummy byte
820820
)
821821
"integer too large"
@@ -860,7 +860,7 @@
860860
(module binary
861861
"\00asm" "\01\00\00\00"
862862
"\05\03\01" ;; memory section with one entry
863-
"\02" ;; malformed memory limits flag
863+
"\10" ;; malformed memory limits flag
864864
"\00" ;; dummy byte
865865
)
866866
"integer too large"

test/core/global.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
"\0a\67\6c\6f\62\61\6c\5f\69\33\32" ;; "global_i32"
385385
"\03" ;; GlobalImport
386386
"\7f" ;; i32
387-
"\02" ;; malformed mutability
387+
"\04" ;; malformed mutability
388388
)
389389
"malformed mutability"
390390
)
@@ -411,7 +411,7 @@
411411
"\06\86\80\80\80\00" ;; global section
412412
"\01" ;; length 1
413413
"\7f" ;; i32
414-
"\02" ;; malformed mutability
414+
"\04" ;; malformed mutability
415415
"\41\00" ;; i32.const 0
416416
"\0b" ;; end
417417
)

0 commit comments

Comments
 (0)