v8/test/common
Samuel Groß 5c152a0f7b [sandbox] Remove a number of native allocations from WasmInstanceObject
Those are not safe in combination with the sandbox as they are stored as
raw pointers. Instead of turning them into ExternalPointers (which use
the ExternalPointerTable indirection), this CL simply turns them into
on-heap ByteArrays which is cheaper and should be unproblematic
security-wise as their contents can be corrupted without causing memory
corruption outside the sandbox address space (just incorrect behaviour
and/or further memory corruption *inside* the sandbox, which is fine).

Bug: chromium:1335046
Change-Id: Id2b901a58b7d6c91dd7596fca553d7c76cbc61ec
Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3845636
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Samuel Groß <saelo@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82765}
2022-08-29 09:53:35 +00:00
..
wasm [sandbox] Remove a number of native allocations from WasmInstanceObject 2022-08-29 09:53:35 +00:00
assembler-tester.h Remove some unused includes (4) 2022-07-08 15:26:40 +00:00
c-signature.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
call-tester.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
DEPS [wasm] Move the wasm-module-runner from test/cctest to test/common 2016-09-14 10:31:53 +00:00
flag-utils.h [flags] Protect individual flag updates 2022-06-03 10:24:40 +00:00
node-observer-tester.h [test] Migrate cctest/test-sloppy-equality to unittests/ 2022-08-24 08:46:10 +00:00
scope-test-helper.h [test] Migrate cctest/parsing/test-preparser to unittests/ 2022-08-23 15:54:39 +00:00
types-fuzz.h [compiler] Remove persistent handles as a broker parameter 2020-08-13 08:13:33 +00:00
unicode-helpers.cc [test] Migrate cctest/parsing/test-preparser to unittests/ 2022-08-23 15:54:39 +00:00
unicode-helpers.h [test] Migrate cctest/parsing/test-preparser to unittests/ 2022-08-23 15:54:39 +00:00
value-helper.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
value-helper.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00