v8/test/mjsunit/asm
Clemens Backes 9b810b9fb1 Reland "[asm] Reject import calls with too many parameters"
This is a reland of commit a664aef0ca.
The test is made ~25x faster by using integer parameters instead of
floating point.

Original change's description:
> [asm] Reject import calls with too many parameters
>
> The asm parser was missing a check for too many parameters for calls to
> imported functions. For regular functions this check implicitly existed
> because the limit was checked at the function declaration, and the call
> site needs to match the declared parameter count.
>
> R=mslekova@chromium.org
>
> Bug: chromium:1302596
> Change-Id: I0d35e70a66d682ee8fdecf5c8ea4d2b1419ce684
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3509393
> Reviewed-by: Maya Lekova <mslekova@chromium.org>
> Commit-Queue: Clemens Backes <clemensb@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#79415}

Bug: chromium:1302596
Change-Id: I138561742b38939a1c2c9a69a6fa508d4f3a028d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3513613
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79424}
2022-03-09 15:46:32 +00:00
..
embenchen
poppler
sqlite3
asm-heap.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
asm-memory.js
asm-stdlib.js
asm-validation.js Reland "[asm] Reject import calls with too many parameters" 2022-03-09 15:46:32 +00:00
atomics-add.js
atomics-and.js
atomics-compareexchange.js
atomics-exchange.js
atomics-load.js
atomics-or.js
atomics-store.js
atomics-sub.js
atomics-xor.js
b5528-comma.js
call-annotation.js
call-collisions.js
call-stdlib.js
do-while-false.js
do-while.js
float32array-negative-offset.js
float32array-outofbounds.js
float32array-store-div.js
float64array-negative-offset.js
float64array-outofbounds.js
float64array-store-div.js
float64mul.js
global-imports.js
if-cloning.js
if-folding.js
if-reduction.js
if-tonumber.js
immutable.js
infinite-loops-taken.js
infinite-loops.js
int8array-negative-offset.js
int16array-negative-offset.js
int16array-outofbounds.js
int32-div.js
int32-mod.js
int32-mul.js
int32-tmod.js
int32-udiv.js
int32-umod.js
int32array-constant-key.js
int32array-negative-offset.js
int32array-outofbounds.js
int32array-unaligned.js
int32div.js
int32mod-constant.js
int32mod.js
int32modb.js
load-elimination.js [test] Crash on invalid intrinsic use unless --fuzzing is on 2020-04-14 15:01:49 +00:00
math-abs.js
math-ceil.js
math-clz32.js
math-floor.js
math-fround.js
math-max.js
math-min.js
noexpose-wasm.js
pointer-masking.js
redundancy1.js
redundancy2.js
regress-9531.js [arraybuffer] Use relaxed load/store for bitfield 2019-07-23 10:12:26 +00:00
regress-641885.js
regress-660813.js
regress-669899.js
regress-672045.js
regress-676573.js
regress-681707.js
regress-718745.js
regress-719866.js
regress-740325.js
regress-913822.js [asm.js] Fix semicolon insertion in presence of comments. 2018-12-12 14:43:05 +00:00
regress-920076.js [asm.js] Fix semicolon insertion in presence of Unicode. 2019-01-09 12:38:41 +00:00
regress-937650.js [asm.js] Fix undefined behavior with float32 constants. 2019-03-07 08:56:37 +00:00
regress-1013920.js [asmjs] Disallow AsmJs instantiation from a SharedArrayBuffer. 2019-10-15 12:45:29 +00:00
regress-1027595.js [asm.js] Fix load type of {Float32Array} and {Float64Array}. 2019-11-25 14:47:08 +00:00
regress-1069173.js [asm] Fix globals initialized by '-0' 2020-08-28 15:19:16 +00:00
return-types.js
sign-extend.js
switch.js
uint8array-outofbounds.js
uint32-less-than-shift.js
uint32div.js
uint32mod-constant.js
uint32mod.js
word32and.js
word32ror.js
zero-extend.js