Skip to content

Commit 4fdf0ed

Browse files
committed
fix
1 parent 075c07c commit 4fdf0ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/fuzz_opt.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,6 +2219,10 @@ def do_handle_pair(self, input, before_wasm, after_wasm, opts):
22192219
def do_run(self, vm, js, wasm):
22202220
out = vm.run_js(js, wasm, checked=False)
22212221

2222+
# VM crashes are actual issues we want to find.
2223+
if '(core dumped)' in out or 'Received signal' in out or '== C stack trace ==' in out or '== JS stack trace ==' in out:
2224+
raise Exception(f"VM crash:\n\n{out}")
2225+
22222226
# Clean up stack traces.
22232227
cleaned = []
22242228
for line in out.splitlines():

0 commit comments

Comments
 (0)