v8/test/common/wasm
Clemens Hammacher 5d1c9d5f71 [wasm][fuzzer] Detect stack overflow in interpreter
The {InterpretWasmModuleForTesting} is used to determine whether a
module is cheap enough to execute the compiled code (there is a cap on
the number of executed instructions). If the module executes too much
code, {InterpretWasmModuleForTesting} returns {false}.
The check for a stack overflow was missing though, so it would return
{true} in that case, and the compiled code would be executed. This can
lead to timeouts.

R=ahaas@chromium.org

Bug: chromium:947909
Change-Id: I0b003963d3ca548f388fdf4ec4995c4199656f91
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1693011
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62617}
2019-07-10 09:37:02 +00:00
..
flag-utils.h Add capability of throwing values in WASM 2017-09-25 16:58:19 +00:00
OWNERS Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test-signatures.h [wasm] Rename 'anyfunc' to 'funcref'. 2019-07-08 21:21:21 +00:00
wasm-macro-gen.h [wasm] Rename 'anyfunc' to 'funcref'. 2019-07-08 21:21:21 +00:00
wasm-module-runner.cc [wasm][fuzzer] Detect stack overflow in interpreter 2019-07-10 09:37:02 +00:00
wasm-module-runner.h Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00