v8/test/common/wasm
Clemens Backes 2d78b3a72a [wasm][fuzzer] Fix BigInt parameters
The fuzzers were calling the compiled function without passing explicit
arguments. Thus all arguments were converted from the "undefined" value,
which typically results in a zero value, as expected.
For BigInt though, it's not allowed to pass "undefined". We have to pass
a proper BigInt.
This CL implements this by passing explicit parameter values for all
parameters.

This effectively unlocks testing BigInt parameters in all fuzzers, thus
may increase coverage and find new bugs.

R=ahaas@chromium.org

Bug: chromium:1120355
Change-Id: I4e451d2418eb73d460fa937d1cf95a1ab6c99cf5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2377945
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69570}
2020-08-26 14:22:19 +00:00
..
flag-utils.h [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-gc] Establish HeapType shorthands, rework signatures. 2020-06-19 08:43:44 +00:00
wasm-interpreter.cc [wasm][interpreter] Print float in hex representation 2020-08-11 10:12:20 +00:00
wasm-interpreter.h [wasm][fuzzer] Check result of compiled code vs interpreter 2020-08-10 14:59:46 +00:00
wasm-macro-gen.h [wasm-gc] Implement call_ref, return_call_ref, add some basic tests 2020-08-14 17:58:27 +00:00
wasm-module-runner.cc [wasm][fuzzer] Fix BigInt parameters 2020-08-26 14:22:19 +00:00
wasm-module-runner.h [wasm][fuzzer] Fix BigInt parameters 2020-08-26 14:22:19 +00:00