summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-05-18 12:21:06 -0700
committerGitHub <noreply@github.com>2022-05-18 12:21:06 -0700
commit12f59507ee65b29ce08f37089594f752f846af9d (patch)
tree6910c1f7be5ef431d943e3e9eb085e3fc06abf29 /src/wasm/wasm-validator.cpp
parent6926544f8de43d12079e1b384c20b4b449b2901f (diff)
downloadbinaryen-12f59507ee65b29ce08f37089594f752f846af9d.tar.gz
binaryen-12f59507ee65b29ce08f37089594f752f846af9d.tar.bz2
binaryen-12f59507ee65b29ce08f37089594f752f846af9d.zip
[GC Fuzzing] Avoid non-nullable eqref without GC (#4675)
With only reference types but not GC, we cannot easily create a constant for eqref for example. Only GC adds i31.new etc. To avoid assertions in the fuzzer, avoid randomly picking (ref eq) etc., that is, keep it nullable so that we can emit a (ref.null eq) if we need a constant value of that type.
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
0 files changed, 0 insertions, 0 deletions