• Clemens Hammacher's avatar
    [wasm][fuzzer] Detect stack overflow in interpreter · 5d1c9d5f
    Clemens Hammacher authored
    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/+/1693011Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62617}
    5d1c9d5f
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...