summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-s-parser.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-08-22 12:47:42 -0700
committerGitHub <noreply@github.com>2022-08-22 19:47:42 +0000
commitb24df4d0c4705027fdc6e261aa3f8e4f61dc5c0a (patch)
tree67de9fd836576d6c0d2bcaba45135ba03eab83f3 /src/wasm/wasm-s-parser.cpp
parent97e07a60318bbc263752b3ed770c2e2bdc8c0872 (diff)
downloadbinaryen-b24df4d0c4705027fdc6e261aa3f8e4f61dc5c0a.tar.gz
binaryen-b24df4d0c4705027fdc6e261aa3f8e4f61dc5c0a.tar.bz2
binaryen-b24df4d0c4705027fdc6e261aa3f8e4f61dc5c0a.zip
Materialize non-null externrefs in the fuzzer (#4952)
Some fuzzer initial contents contain non-nullable externrefs that cause the fuzzer to try to materialize non-nullable externref values. Perviously the fuzzer did not support this and crashed with an assertion failure. Fix the assertion failure by instead returning a null cast to non-null, which will trap at runtime but at least produce a valid module.
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
0 files changed, 0 insertions, 0 deletions