• Ng Zhi An's avatar
    [wasm-simd] Set default args for v128 values · 83fa52a5
    Ng Zhi An authored
    Instantiating a module that contains a function (exported) with a v128
    in its signature is fine, but then later calling it will trap.
    
    So v128 values are technically not callable from JS, but we can give it
    a default argument of 0, and will later trap anyway. This is useful when
    fuzzers generate functions with v128 in the signature of the main
    function that we then later try to call.
    
    Bug: chromium:1129068
    Change-Id: I93f239a0355b8059e25b8bd5f1274d151d71ee11
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2419657
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70038}
    83fa52a5
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...