summaryrefslogtreecommitdiff
path: root/src/shared-constants.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-06-08 09:46:08 -0700
committerGitHub <noreply@github.com>2023-06-08 09:46:08 -0700
commite11abbe94503c2a592a29cd297880f0852d5dd89 (patch)
tree14cb6801a40b69fe252e8f1c4c4a2fcd7d3c80cd /src/shared-constants.h
parentbffd98c80ef2d2ea20b49618e8e345406c8f451c (diff)
downloadbinaryen-e11abbe94503c2a592a29cd297880f0852d5dd89.tar.gz
binaryen-e11abbe94503c2a592a29cd297880f0852d5dd89.tar.bz2
binaryen-e11abbe94503c2a592a29cd297880f0852d5dd89.zip
Strings: Add initial validation checks (#5758)
This is far from comprehensive, but it checks strings being enabled for all the instructions. Without this, the fuzzer can get confused because it checks if code validates and then proceeds under that assumption, so any missing validation checks can cause problems (specifically, if we have a string.const without strings enabled then we error during writing of the string, since we don't do the initial pass to find all strings to deduplicate them).
Diffstat (limited to 'src/shared-constants.h')
0 files changed, 0 insertions, 0 deletions