v8/test/cctest/wasm
Clemens Backes e8d8956be2 [wasm][memory64][turbofan] Fix bounds checks on 32-bit systems
In memory64, the index is a 64-bit value even on 32 bit. Thus the bounds
check needs to check explicitly that the high word is zero. The (pointer
sized) low word is then checked against the actual memory size.

R=manoskouk@chromium.org

Bug: v8:10949
Change-Id: I311664ccadaec44a6c88777a60b1a3b45b6c0642
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2617088
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72016}
2021-01-11 18:45:12 +00:00
..
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
test-c-wasm-entry.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-compilation-cache.cc Reland "Reland "[wasm] Cache streaming compilation result"" 2020-02-03 13:49:18 +00:00
test-gc.cc [wasm-gc][bug] Fix interaction between 'let' and Goto 2021-01-09 23:29:15 +00:00
test-grow-memory.cc [wasm][fuzzer] Merge redundant functions 2020-08-11 12:30:53 +00:00
test-jump-table-assembler.cc [cctest][wasm] Fix JumpTablePatchingStress on systems with 64k pages 2020-10-12 15:43:15 +00:00
test-liftoff-inspection.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-64.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-asmjs.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-atomics64.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-atomics.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-bulk-memory.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-exceptions.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-interpreter.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-js.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-memory64.cc [wasm][memory64][turbofan] Fix bounds checks on 32-bit systems 2021-01-11 18:45:12 +00:00
test-run-wasm-module.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-sign-extension.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-simd-liftoff.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-simd-scalar-lowering.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-simd.cc [wasm-simd][liftoff][x64] Prototype load lane 2021-01-08 15:45:03 +00:00
test-run-wasm-wrappers.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-streaming-compilation.cc [wasm] Initialize compile job early 2020-12-15 09:43:14 +00:00
test-wasm-breakpoints.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-wasm-codegen.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Faster wasm-to-js calls with arguments mismatch 2020-07-28 15:53:21 +00:00
test-wasm-metrics.cc [wasm] Initialize compile job early 2020-12-15 09:43:14 +00:00
test-wasm-serialization.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-wasm-shared-engine.cc [wasm] Allow specifying larger code space limits 2020-08-28 16:25:36 +00:00
test-wasm-stack.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
test-wasm-trap-position.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
wasm-atomics-utils.h [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
wasm-run-utils.cc [wasm][test] Remove an unneeded pointer 2020-12-16 12:43:04 +00:00
wasm-run-utils.h [wasm][memory64] Fix Liftoff on 32-bit and add cctest 2021-01-11 16:41:59 +00:00