• Clemens Backes's avatar
    [wasm][streaming] Check for illegal section code · 436f0889
    Clemens Backes authored
    Add a missing check to reject illegal sections.
    
    The test is added in three forms, to give fuzzers more food: A fuzzer
    regression test for the streaming fuzzer, a unit test for the streaming
    decoder, and an mjsunit test for streaming compilation.
    
    Drive-by: Remove a redundant line in the synchronous decoder (this is
    already handled by the following statement.
    
    R=ahaas@chromium.org
    
    Bug: chromium:1335023
    Change-Id: Ic8c3b301f1b58981c7d68eafcffc89531ed2c64c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3698549Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81071}
    436f0889
Name
Last commit
Last update
..
inspector Loading commit data...
json Loading commit data...
multi_return Loading commit data...
parser Loading commit data...
regexp Loading commit data...
regexp_builtins Loading commit data...
wasm Loading commit data...
wasm_async Loading commit data...
wasm_code Loading commit data...
wasm_compile Loading commit data...
wasm_streaming Loading commit data...
BUILD.gn 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.status Loading commit data...
inspector-fuzzer.cc Loading commit data...
json.cc Loading commit data...
multi-return.cc Loading commit data...
parser.cc Loading commit data...
regexp-builtins.cc Loading commit data...
regexp.cc Loading commit data...
testcfg.py Loading commit data...
wasm-async.cc Loading commit data...
wasm-code.cc Loading commit data...
wasm-compile.cc Loading commit data...
wasm-fuzzer-common.cc Loading commit data...
wasm-fuzzer-common.h Loading commit data...
wasm-streaming.cc Loading commit data...
wasm.cc Loading commit data...
wasm_corpus.tar.gz.sha1 Loading commit data...