diff options
author | Alon Zakai <azakai@google.com> | 2023-06-08 09:46:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 09:46:08 -0700 |
commit | e11abbe94503c2a592a29cd297880f0852d5dd89 (patch) | |
tree | 14cb6801a40b69fe252e8f1c4c4a2fcd7d3c80cd /src/wasm-stack.h | |
parent | bffd98c80ef2d2ea20b49618e8e345406c8f451c (diff) | |
download | binaryen-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/wasm-stack.h')
0 files changed, 0 insertions, 0 deletions