summaryrefslogtreecommitdiff
path: root/src/passes/MemoryPacking.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-18 15:25:22 -0700
committerGitHub <noreply@github.com>2019-07-18 15:25:22 -0700
commit9bdf71324b84796170bf099ff64117a03052d937 (patch)
treeb9be8f5a1fb6e499dad2142f263e6dad0560873d /src/passes/MemoryPacking.cpp
parente4ae8848b484110207c9a77d0c089aac3db482bb (diff)
downloadbinaryen-9bdf71324b84796170bf099ff64117a03052d937.tar.gz
binaryen-9bdf71324b84796170bf099ff64117a03052d937.tar.bz2
binaryen-9bdf71324b84796170bf099ff64117a03052d937.zip
Auto-reduce testcases from the FuzzExec handler in the fuzzer (#2232)
When it finds a failing testcase, it reduces the list of optimizations, and then runs wasm-reduce to reduce the wasm itself. This refactors the testcase handlers into two kinds: one returns a list of commands to run (get_commands()), and we can auto-reduce them. The others get all the parameters and do whatever they want internally, and we can't auto-reduce them yet. If it is useful, auto-reducing could be added to the other handlers (CompareVMs, Wasm2JS, etc.) by modifying them to the new form. Tested manually by breaking stuff.
Diffstat (limited to 'src/passes/MemoryPacking.cpp')
0 files changed, 0 insertions, 0 deletions