v8/test/mjsunit/wasm
Deepti Gandluri 29c1c5d6ca [wasm] Validate prefixed opcode reads
Identify validation fails to read the index of prefixed opcodes, and not
continue to decode the next bytes.

Change-Id: I2c737af55615ba69ba0c5f5adf18a06c6cdb951a
Bug: chromium:905815
Reviewed-on: https://chromium-review.googlesource.com/c/1390927
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58485}
2018-12-28 07:07:11 +00:00
..
embenchen
adapter-frame.js
add-getters.js
anyref-globals.js [wasm][anyref] Implement anyref globals 2018-12-18 13:28:34 +00:00
anyref.js [wasm][anyref] Add more tests 2018-12-11 15:28:33 +00:00
asm-wasm-copy.js
asm-wasm-deopt.js
asm-wasm-exception-in-tonumber.js
asm-wasm-expr.js
asm-wasm-f32.js [wasm] Enable more asm.js tests 2018-02-21 15:42:22 +00:00
asm-wasm-f64.js [wasm] Enable more asm.js tests 2018-02-21 15:42:22 +00:00
asm-wasm-heap.js
asm-wasm-i32.js
asm-wasm-imports.js [asm.js] Split large asm.js test into parts. 2018-08-09 14:02:04 +00:00
asm-wasm-literals.js
asm-wasm-math-intrinsic.js [wasm] Intrinsify math imports 2018-11-26 15:17:51 +00:00
asm-wasm-memory.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
asm-wasm-names.js
asm-wasm-stack.js
asm-wasm-stdlib.js
asm-wasm-switch.js
asm-wasm-u32.js
asm-wasm.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
asm-with-wasm-off.js [wasm] Honor AllowCodegenFromStrings() for all WASM compile types. 2017-10-06 08:50:51 +00:00
async-compile.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
atomics64-stress.js [wasm] Add stress test for I64 atomics 2018-10-19 10:51:21 +00:00
atomics-stress.js [wasm] Add stress test for I64 atomics 2018-10-19 10:51:21 +00:00
atomics.js [atomics] Fix I64CmpExchg for narrow width operations 2018-09-27 08:05:10 +00:00
bigint.js [wasm] Add WebAssembly's i64<>JavaScript's BigInt conversions - 64 bits 2018-12-11 12:30:50 +00:00
bounds-check-64bit.js [wasm][cleanup] Remove kV8MaxPages from wasm-constants.js 2018-08-29 11:16:03 +00:00
bounds-check-turbofan.js OwnedByAddressingOperand should also allow uses by ProtectedLoad 2018-12-14 09:39:55 +00:00
bulk-memory.js [wasm] Implement memory.init and memory.drop 2018-12-12 17:33:05 +00:00
calls.js
compare-exchange64-stress.js [wasm] Add test for I64AtomicCompareExchange 2018-09-27 11:46:35 +00:00
compare-exchange-stress.js [wasm] Add test for I64AtomicCompareExchange 2018-09-27 11:46:35 +00:00
compilation-limits-asm.js
compilation-limits.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
compiled-module-management.js [wasm] Remove {WasmCompiledModule} object type. 2018-06-27 14:02:51 +00:00
compiled-module-serialization.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
data-segments.js [wasm][test] Add additional module builder checks. 2018-09-11 09:56:44 +00:00
disable-trap-handler.js [wasm] Enable trap handlers by default in D8 on Linux x64 2017-09-25 17:43:33 +00:00
disallow-codegen.js [wasm] Return immediately if code generation is not allowed 2018-09-11 13:15:20 +00:00
divrem-trap.js
empirical_max_memory.js [wasm] Prepare to support 4GiB memories 2018-07-24 13:55:43 +00:00
ensure-wasm-binaries-up-to-date.js
errors.js [wasm] Do not pop arguments for return 2018-12-10 16:15:21 +00:00
exceptions-anyref.js [wasm][test] Deduplicate assertWasmThrows helper method. 2018-12-10 09:56:17 +00:00
exceptions-catchall.js [wasm] Fix corner cases with unreachable catch-all blocks. 2018-10-11 10:27:47 +00:00
exceptions-export.js [wasm] Introduce WASM_EXCEPTION_OBJECT instance type. 2018-09-10 11:26:25 +00:00
exceptions-import.js Reland "[wasm] Implement handling of exported/imported exceptions." 2018-09-17 13:15:22 +00:00
exceptions-rethrow.js [wasm][test] Deduplicate assertWasmThrows helper method. 2018-12-10 09:56:17 +00:00
exceptions-shared.js Reland "[wasm] Implement handling of exported/imported exceptions." 2018-09-17 13:15:22 +00:00
exceptions-simd.js Reland "[wasm] Support encoding s128 simd types in exceptions." 2018-12-10 11:27:31 +00:00
exceptions-utils.js [wasm][test] Deduplicate assertWasmThrows helper method. 2018-12-10 09:56:17 +00:00
exceptions.js [wasm][test] Deduplicate assertWasmThrows helper method. 2018-12-10 09:56:17 +00:00
export-global.js [wasm] Enable mutable-global by default 2018-06-12 23:08:48 +00:00
export-mutable-global.js [wasm] Fix for exporting imported mutable globals 2018-06-12 21:26:27 +00:00
export-table.js [wasm] Fix error output for duplicate exports 2017-07-10 09:53:32 +00:00
expose-wasm.js [asmjs] --validate-asm should not expose the WASM API. 2017-09-04 13:31:32 +00:00
ffi-error.js [wasm] During instantiation, pending_exceptions dominate new exceptions 2018-08-07 10:44:12 +00:00
ffi.js [wasm] Don't call constructors directly from wasm2js wrappers 2018-03-29 11:48:32 +00:00
float-constant-folding.js
function-names.js [wasm] Use "wasm-function[i]" for wasm function name 2018-07-31 11:20:44 +00:00
function-prototype.js [wasm] Fix prototype property of exported functions 2018-02-28 09:14:57 +00:00
futex.js Reland "[wasm] Add I64AtomicWait implementation" 2018-11-30 02:24:04 +00:00
gc-buffer.js
gc-frame.js
gc-stress.js [wasm] Reduce run-time of GC stress test. 2017-07-14 16:02:42 +00:00
globals.js [wasm] Enable mutable-global by default 2018-06-12 23:08:48 +00:00
graceful_shutdown_during_tierup.js [wasm] Remove redundant cancelling of compile tasks 2018-08-01 12:21:57 +00:00
graceful_shutdown.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
grow-memory-detaching.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
grow-memory-in-branch.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
grow-memory-in-call.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
grow-memory-in-loop.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
grow-memory.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
huge-memory.js [wasm] Fix memory limit checks 2018-10-30 13:44:48 +00:00
import-function.js [wasm] Use correct instance when calling start function 2018-05-15 16:17:29 +00:00
import-memory.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
import-mutable-global.js [wasm][test] Add additional module builder checks. 2018-09-11 09:56:44 +00:00
import-table.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
incrementer.wasm
indirect-calls.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
indirect-sig-mismatch.js [wasm] More extensive indirect dispatch signature mismatch tests. 2017-07-24 19:21:28 +00:00
indirect-tables.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
instance-gc.js
instance-memory-gc-stress.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
instantiate-module-basic.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
instantiate-run-basic.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
interpreter-mixed.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
interpreter.js [wasm] Don't put interpreter entries in the code table 2018-10-15 14:46:09 +00:00
js-api.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
large-offset.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
lazy-compilation.js [wasm] Add "freeze" flag to test lazy compilation 2017-11-30 08:54:12 +00:00
liftoff-trap-handler.js [liftoff] fix statically out of bounds memory access with trap handlers 2018-03-23 19:24:16 +00:00
liftoff.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
loop-rotation.js [turbofan] Implement loop rotation 2018-11-16 13:52:12 +00:00
many-parameters.js [Liftoff] Implement direct calls 2018-01-09 10:54:56 +00:00
memory_1gb_oob.js [wasm] Support 4GiB memories in Liftoff 2018-07-27 14:20:00 +00:00
memory_2gb_oob.js [wasm] Support 4GiB memories in Liftoff 2018-07-27 14:20:00 +00:00
memory_4gb_oob.js [wasm] Support 4GiB memories in Liftoff 2018-07-27 14:20:00 +00:00
memory-external-call.js [wasm] Store the globals_start in WasmContext. 2017-10-16 09:35:47 +00:00
memory-instance-validation.js [wasm] Rename GrowMemory to MemoryGrow 2018-10-29 14:06:24 +00:00
memory-size.js Reland "[wasm] Fix page size constant + test limits on max pages." 2018-01-19 10:19:32 +00:00
memory.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
module-memory.js [wasm][test] Fix typo in module-memory test. 2018-08-24 14:18:18 +00:00
multi-value.js [wasm] Int64 lowering for return values 2017-10-27 11:34:14 +00:00
mutable-globals.js [wasm] Rename type to value in Global constructor 2018-05-30 21:08:03 +00:00
names.js
origin-trial-flags.js [wasm] Check the isolate if WebAssembly threads are enabled. 2018-08-13 09:16:33 +00:00
OWNERS Reduce wasm OWNERS to current team members 2018-10-15 14:47:49 +00:00
parallel_compilation.js
params.js
print-code.js [wasm] Add test for printing wasm code after deserialization 2018-06-05 19:15:15 +00:00
receiver.js
serialize-lazy-module.js [wasm] Fix serialization of lazily compiled modules 2018-06-12 17:07:36 +00:00
shared-memory.js [wasm] Allocate SAB when memory is shared 2017-12-21 01:01:32 +00:00
stack.js [wasm] Use right data type for storing error location 2017-08-31 11:07:25 +00:00
stackwalk.js
start-function.js [wasm] Reject an exception in the start function on the promise 2018-06-13 09:01:48 +00:00
streaming-compile.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
streaming-error-position.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
streaming-trap-location.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
table-grow.js [wasm] Cleanup wasm-module-builder.js 2018-10-10 22:50:57 +00:00
table.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
test-wasm-module-builder.js [wasm] Disallow calling wasm constructors without new. 2017-11-20 17:34:51 +00:00
tier-up-testing-flag.js [wasm][fuzzer] Test combinations of Turbofan and Liftoff 2018-07-12 12:56:30 +00:00
trap-handler-fallback.js Reland "[wasm] Introduce a soft limit on reserved memory" 2018-09-19 15:12:18 +00:00
trap-location.js [builtins] implement RunMicrotasks pump as a code stub 2017-12-04 17:55:29 +00:00
unicode-validation.js
unicode.js [wasm] Use wasm-function#%d consistently as debug name. 2018-09-12 13:47:21 +00:00
unreachable-validation.js [wasm] Decoder should narrow unreachable types on the stack. 2017-08-30 11:49:16 +00:00
unreachable.js
user-properties-common.js [wasm/test] Split test/mjsunit/wasm/user-properties.js into smaller tests. 2017-10-27 10:37:55 +00:00
user-properties-constructed.js [wasm/test] Split test/mjsunit/wasm/user-properties.js into smaller tests. 2017-10-27 10:37:55 +00:00
user-properties-exported.js [wasm/test] Split test/mjsunit/wasm/user-properties.js into smaller tests. 2017-10-27 10:37:55 +00:00
user-properties-module.js [wasm/test] Split test/mjsunit/wasm/user-properties.js into smaller tests. 2017-10-27 10:37:55 +00:00
user-properties-reexport.js [wasm/test] Split test/mjsunit/wasm/user-properties.js into smaller tests. 2017-10-27 10:37:55 +00:00
verify-module-basic-errors.js
wasm-api-overloading.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
wasm-constants.js [wasm] Validate prefixed opcode reads 2018-12-28 07:07:11 +00:00
wasm-default.js
wasm-math-intrinsic.js [wasm] Intrinsify math imports 2018-11-26 15:17:51 +00:00
wasm-module-builder.js [wasm][anyref] Implement anyref globals 2018-12-18 13:28:34 +00:00
wasm-object-api.js
worker-interpreter.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
worker-memory.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
worker-module.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00