v8/test
Michael Achenbach cf05e4ca79 Make using natives for fuzzing more permissive
This makes creating whitelisted runtime functions more permissive on
fuzzers (when --allow-natives-for-fuzzing is passed).

- Runtime functions with too few arguments are replaced with undefined.
- Superfluous arguments are ignored.

This reduces syntax-error rate on fuzzers. Also prevents
dcheck errors when fuzzing debug builds and fuzzers use too many
arguments for runtime functions.

Bug: chromium:1044942
Change-Id: I23b45398421c50bc82d1e8bfdf019f565253db96
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2039352
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66202}
2020-02-10 14:18:08 +00:00
..
benchmarks
cctest [heap] Improve accounting with ArrayBufferExtensions 2020-02-10 11:16:03 +00:00
common [wasm] Add missing type enum in switch statement and remove default 2020-01-24 10:36:01 +00:00
debugger [wasm] Skip test in multiple isolates 2020-02-09 07:50:01 +00:00
fuzzer [wasm] Extend fuzzer to test AtomicExchange and AtomicCompareExchange 2020-02-05 09:01:58 +00:00
inspector [wasm] Always use new Liftoff code in debugging mode 2020-02-05 10:35:58 +00:00
intl Revert "Fix SEGMAP_ERR by rolling ICU?" 2020-02-06 08:16:26 +00:00
js-perf-test
memory
message Revert "[weakrefs] Schedule FinalizationGroup cleanup tasks from within V8" 2020-02-09 16:24:52 +00:00
mjsunit Make using natives for fuzzing more permissive 2020-02-10 14:18:08 +00:00
mkgrokdump
mozilla Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
test262 [Intl] Change order of "currency" and "unit" validation. 2020-01-31 20:31:05 +00:00
torque [torque] use iterators and constructors for ExtractFixedArray 2020-01-16 13:51:04 +00:00
unittests [torque] Support bitfield structs stored within Smis 2020-02-07 18:43:06 +00:00
wasm-api-tests [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-js [wasm] Update spec tests 2020-02-05 15:42:51 +00:00
wasm-spec-tests [wasm] Update spec tests 2020-02-05 15:42:51 +00:00
webkit [class] Improve error message for calling anonymous class constructors 2019-12-05 21:13:07 +00:00
BUILD.gn
OWNERS