• Andreas Haas's avatar
    [wasm][fuzzer] Handle Interpreter step limit exhaustion. · d1f566c6
    Andreas Haas authored
    If the fuzzer input cannot be executed in the interpreter within a step
    limit, then the interpreter does not calculate the result but instead
    finishes with a RangeError. The problem with the input of the bug report
    was that the interpreter finished with that RangeError, but the
    execution of the compiled code still returned a result, which was
    naturally not a RangeError and therefore caused the result check to fail.
    With this CL the compiled code is not even executed when there is a
    RangeError after the execution in the interpreter. Thereby we also
    avoid executing an infinite loop.
    
    BUG=chromium:734435
    R=clemensh@chromium.org
    
    Change-Id: If9d0fb9e14e84f06d6f11d22f882363d56c1c20b
    Reviewed-on: https://chromium-review.googlesource.com/544838
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46140}
    d1f566c6
Name
Last commit
Last update
..
json Loading commit data...
parser Loading commit data...
regexp Loading commit data...
wasm Loading commit data...
wasm_async Loading commit data...
wasm_call Loading commit data...
wasm_code Loading commit data...
wasm_compile Loading commit data...
wasm_data_section Loading commit data...
wasm_function_sigs_section Loading commit data...
wasm_globals_section Loading commit data...
wasm_imports_section Loading commit data...
wasm_memory_section Loading commit data...
wasm_names_section Loading commit data...
wasm_types_section Loading commit data...
DEPS Loading commit data...
README.md Loading commit data...
fuzzer-support.cc Loading commit data...
fuzzer-support.h Loading commit data...
fuzzer.cc Loading commit data...
fuzzer.gyp Loading commit data...
fuzzer.isolate Loading commit data...
fuzzer.status Loading commit data...
json.cc Loading commit data...
parser.cc Loading commit data...
regexp.cc Loading commit data...
testcfg.py Loading commit data...
wasm-async.cc Loading commit data...
wasm-call.cc Loading commit data...
wasm-code.cc Loading commit data...
wasm-compile.cc Loading commit data...
wasm-data-section.cc Loading commit data...
wasm-function-sigs-section.cc Loading commit data...
wasm-fuzzer-common.cc Loading commit data...
wasm-fuzzer-common.h Loading commit data...
wasm-globals-section.cc Loading commit data...
wasm-imports-section.cc Loading commit data...
wasm-memory-section.cc Loading commit data...
wasm-names-section.cc Loading commit data...
wasm-types-section.cc Loading commit data...
wasm.cc Loading commit data...
wasm_corpus.tar.gz.sha1 Loading commit data...