summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-11-19 15:26:09 -0800
committerGitHub <noreply@github.com>2024-11-19 15:26:09 -0800
commite13bf0fb72fca160f457570b930c4ba3c35ead3a (patch)
treed840d824a6da6213cb9e27051cda3afd138863ed /src/passes/OptimizeInstructions.cpp
parent206ad2906c9e0af92ec4c4da223c96755243aa2e (diff)
downloadbinaryen-e13bf0fb72fca160f457570b930c4ba3c35ead3a.tar.gz
binaryen-e13bf0fb72fca160f457570b930c4ba3c35ead3a.tar.bz2
binaryen-e13bf0fb72fca160f457570b930c4ba3c35ead3a.zip
Improve fuzzing of both closed and open world styles of modules (#7090)
Before, we would simply not export a function that had an e.g. anyref param. As a result, the modules were effectively "closed", which was good for testing full closed-world mode, but not for testing degrees of open world. To improve that, this PR allows the fuzzer to export such functions, and an "enclose world" pass is added that "closes" the wasm (makes it more compatible with closed-world) that is run 50% of the time, giving us coverage of both styles.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions