• 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
..
OWNERS Loading commit data...
flag-utils.h Loading commit data...
test-signatures.h Loading commit data...
wasm-interpreter.cc Loading commit data...
wasm-interpreter.h Loading commit data...
wasm-macro-gen.h Loading commit data...
wasm-module-runner.cc Loading commit data...
wasm-module-runner.h Loading commit data...