summaryrefslogtreecommitdiff
path: root/test/binary/bad-alignment.txt
diff options
context:
space:
mode:
authorSoni L. <EnderMoneyMod@gmail.com>2024-08-09 19:29:59 -0300
committerGitHub <noreply@github.com>2024-08-09 22:29:59 +0000
commit63fefe32e7e40efe1050c1908422b29e883c0575 (patch)
tree3a4f2a56e4344e2295b6b7d7c85cde142ae050fc /test/binary/bad-alignment.txt
parent3e826ecde1adfba5f88d10d361131405637e65a3 (diff)
downloadwabt-63fefe32e7e40efe1050c1908422b29e883c0575.tar.gz
wabt-63fefe32e7e40efe1050c1908422b29e883c0575.tar.bz2
wabt-63fefe32e7e40efe1050c1908422b29e883c0575.zip
Harden against invalid alignment (#2411)
Diffstat (limited to 'test/binary/bad-alignment.txt')
-rw-r--r--test/binary/bad-alignment.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/binary/bad-alignment.txt b/test/binary/bad-alignment.txt
index 4601c27c..e975dd10 100644
--- a/test/binary/bad-alignment.txt
+++ b/test/binary/bad-alignment.txt
@@ -8,11 +8,12 @@ section(CODE) {
count[1]
func {
locals[0]
+ i32.const leb_i32(0)
i32.load align[65] offset[0]
drop
}
}
(;; STDERR ;;;
-000001e: error: invalid load alignment: 65
-000001e: error: invalid load alignment: 65
+0000020: error: multi_memory not allowed
+0000020: error: multi_memory not allowed
;;; STDERR ;;)