diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-08-04 12:10:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 19:10:01 +0000 |
commit | 9c6849b6c53c216ba8656d68fd0fd99dca5e462c (patch) | |
tree | 3d08a6ade4714b9ce7407f657676c40fe1fd0955 /src/support/command-line.cpp | |
parent | 80a3c70813966f62dfe8157b983d598b5e4520ff (diff) | |
download | binaryen-9c6849b6c53c216ba8656d68fd0fd99dca5e462c.tar.gz binaryen-9c6849b6c53c216ba8656d68fd0fd99dca5e462c.tar.bz2 binaryen-9c6849b6c53c216ba8656d68fd0fd99dca5e462c.zip |
Bail out of fuzz_shell.js if instantiation fails (#4873)
Sometimes the fuzzer produces valid modules that trap during instantiation. When
that happens, the JS harness used to run the fuzzer output in d8 would
previously throw an error, creating spurious fuzzer failures on valid modules.
Update fuzz_shell.js to catch and supress errors during instantiation (but not
validation) to avoid these spurious failures.
Fixes #4865.
Diffstat (limited to 'src/support/command-line.cpp')
0 files changed, 0 insertions, 0 deletions