summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-06-20 09:58:18 -0700
committerGitHub <noreply@github.com>2024-06-20 09:58:18 -0700
commit45f6bdd4b2f694513aaed8b785bda422f0067a0d (patch)
tree4dfae85dfa7d7e612a7fe38b114e3b7e8881d20b /scripts/test
parent98da69f2ee63214a4f946d55b863ee6d41d3e250 (diff)
downloadbinaryen-45f6bdd4b2f694513aaed8b785bda422f0067a0d.tar.gz
binaryen-45f6bdd4b2f694513aaed8b785bda422f0067a0d.tar.bz2
binaryen-45f6bdd4b2f694513aaed8b785bda422f0067a0d.zip
Validate memarg offsets (#6683)
For 32-bit memories, the offset value must be in the u32 range. Update the address.wast spec test to assert that a module with an overlarge offset value is invalid rather than malformed.
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/shared.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 909b20c4b..b629eafc1 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -399,9 +399,8 @@ os.chdir(options.out_dir)
# delete the old file, make sure you rename the corresponding .wast.log file in
# expected-output/ if any.
SPEC_TESTS_TO_SKIP = [
- # Malformed module accepted
+ # Requires us to write our own floating point parser
'const.wast',
- 'address.wast',
# Unlinkable module accepted
'linking.wast',