Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/fuzz_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,11 +1485,17 @@ def handle(self, wasm):

# verify that merging in the second module did not alter the output.
output = run_bynterp(wasm, ['--fuzz-exec-before', '-all'])
if output == IGNORE:
return
output = fix_output(output)
second_output = run_bynterp(second_wasm, ['--fuzz-exec-before', '-all'])
second_output = fix_output(second_output)
if second_output == IGNORE:
return
merged_output = run_bynterp(merged, ['--fuzz-exec-before', '-all'])
merged_output = fix_output(merged_output)
if merged_output == IGNORE:
return

# If the second module traps in instantiation, then the merged module
# must do so as well, regardless of what the first module does. (In
Expand Down
Loading