v8/test/common/wasm
Ng Zhi An 83fa52a543 [wasm-simd] Set default args for v128 values
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: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70038}
2020-09-21 21:12:57 +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-simd][scalar-lowering] Fix more lowering of returns 2020-09-11 01:48:16 +00:00
wasm-interpreter.cc [wasm] Fix interpreter Ref in unreachable code 2020-09-16 09:34:29 +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-simd] Set default args for v128 values 2020-09-21 21:12:57 +00:00
wasm-module-runner.h [wasm][fuzzer] Fix BigInt parameters 2020-08-26 14:22:19 +00:00