v8/test/common/wasm
Deepti Gandluri e68728a262 [wasm] Add templatized methods for static bounds checks
The IsInBounds function is used in a few different places, when used for
bounds checks on 32-bit platforms, size_t for max_memory_size leads to
incorrect out of bounds accesses as size_t is not guaranteed to be
64-bit on all platforms. Use specific uint32_t, uint64_t methods for
Wasm bounds checking instead of size_t.

Bug: chromium:1080902
Change-Id: I0e21f0a310382c8ed0703c8302200d3352495c13
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2256858
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68500}
2020-06-24 03:41:28 +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-gc] Establish HeapType shorthands, rework signatures. 2020-06-19 08:43:44 +00:00
wasm-interpreter.cc [wasm] Add templatized methods for static bounds checks 2020-06-24 03:41:28 +00:00
wasm-interpreter.h [wasm] Move interpreter to test directory 2020-06-23 08:48:14 +00:00
wasm-macro-gen.h [wasm-gc] Implement rtt.canon 2020-06-23 15:04:23 +00:00
wasm-module-runner.cc [wasm] Move interpreter to test directory 2020-06-23 08:48:14 +00:00
wasm-module-runner.h [wasm] Move interpreter to test directory 2020-06-23 08:48:14 +00:00