v8/test/fuzzer/wasm_streaming
Clemens Backes 436f088944 [wasm][streaming] Check for illegal section code
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/+/3698549
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81071}
2022-06-10 14:23:07 +00:00
..
empty_module
README.md
regress-1335023 [wasm][streaming] Check for illegal section code 2022-06-10 14:23:07 +00:00

All files in this directory are used by the trybots to check that the fuzzer executes correctly, see https://github.com/v8/v8/blob/main/test/fuzzer/README.md. There should be at least one file in this directory, e.g. this README file.