• Clemens Backes's avatar
    [wasm][fuzzer] Fix BigInt parameters · 2d78b3a7
    Clemens Backes authored
    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: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69570}
    2d78b3a7
Name
Last commit
Last update
..
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...
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...
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.cc Loading commit data...
wasm_corpus.tar.gz.sha1 Loading commit data...