v8/test/unittests/heap/cppgc
Michael Lippautz c9e82887bd cppgc: Allow ASAN-safe memset in SetMemoryInaccessible()
The application may itself change ASAN poisoning which conflicts with
the memset() right before poisoning memory.

This is relevant for destructors but also when invoking Resize() on an
object that uses ASAN container annotations. Annotations are hard to
adjust for the embedder as it is not clear upfront whether the call will
succeed.

Bug: chromium:1056170
Change-Id: I7f719e4130ba6149494a45f220a341658970bc6f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2878733
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74431}
2021-05-07 08:14:17 +00:00
..
allocation-unittest.cc cppgc: Clear large pages on free. 2021-05-06 18:11:17 +00:00
compactor-unittest.cc cppgc: Fix compaction cancellation 2021-03-16 18:31:41 +00:00
concurrent-marking-unittest.cc cppgc: Cleanups 2021-03-15 08:37:39 +00:00
concurrent-sweeper-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
cross-thread-persistent-unittest.cc Migrate CrossThreadPersistent 2020-10-09 14:33:57 +00:00
custom-spaces-unittest.cc cppgc: First batch of unittest from heap_test.cc 2021-04-14 16:32:35 +00:00
ephemeron-pair-unittest.cc cppgc: Rework Visitor ephemeron handling 2021-03-04 11:30:36 +00:00
explicit-management-unittest.cc cppgc: Adjust explicit management calls 2021-05-05 14:18:37 +00:00
finalizer-trait-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
free-list-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
garbage-collected-unittest.cc Reland "cppgc: Add tests for in-construction during ctor" 2021-04-09 12:18:03 +00:00
gc-info-unittest.cc cppgc: Replace SetUp/TearDown with ctor/dtor 2021-05-03 16:17:36 +00:00
gc-invoker-unittest.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
heap-growing-unittest.cc cppgc: fix unittest compilation on gcc 8 2021-04-27 18:12:15 +00:00
heap-object-header-unittest.cc cppgc: Add explicit FreeUnreferencedObject() call 2021-03-08 13:03:03 +00:00
heap-page-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
heap-statistics-collector-unittest.cc cppgc: Rename allocated_size to physical_size in statistics 2021-02-11 17:44:35 +00:00
heap-unittest.cc cppgc: 2nd batch of unittests from heap_test.cc 2021-04-15 16:22:32 +00:00
incremental-marking-schedule-unittest.cc cppgc: Fix reporting of marked bytes in the atomic pause 2021-02-18 21:52:14 +00:00
logging-unittest.cc cppgc: fix sourceLocation test on gcc 2021-04-23 21:45:24 +00:00
marker-unittest.cc cppgc: 2nd batch of unittests from heap_test.cc 2021-04-15 16:22:32 +00:00
marking-verifier-unittest.cc cppgc-js: Fix MarkingVerifier 2021-05-03 10:36:18 +00:00
marking-visitor-unittest.cc cppgc: Support weak containers 2020-10-22 14:01:04 +00:00
member-unittest.cc cppgc: Add AtomicCtorTag to Member types 2021-05-03 20:31:12 +00:00
metric-recorder-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
minor-gc-unittest.cc cppgc-js: Report C++ memory to V8's heap growing 2021-01-27 00:32:05 +00:00
name-trait-unittest.cc cppgc: Check for correct base class inheritance 2021-04-08 09:23:57 +00:00
object-size-trait-unittest.cc cppgc: Introduce ObjectSizeTrait 2021-01-22 20:53:55 +00:00
object-start-bitmap-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
page-memory-unittest.cc [cppgc][unittests] Only expect guard pages support on 4k platforms. 2020-10-20 16:54:38 +00:00
persistent-family-unittest.cc cppgc: Another batch of tests 2021-04-22 22:46:58 +00:00
prefinalizer-unittest.cc cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
run-all-unittests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
sanitizer-unittest.cc cppgc: Allow ASAN-safe memset in SetMemoryInaccessible() 2021-05-07 08:14:17 +00:00
source-location-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
stack-unittest.cc cppgc: stack unittest: Fix order of attributes 2021-05-06 23:10:17 +00:00
stats-collector-scopes-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
stats-collector-unittest.cc cppgc: Fix allocated_memory_size() 2021-03-16 20:47:02 +00:00
sweeper-unittest.cc cppgc: Another batch of tests 2021-04-22 22:46:58 +00:00
test-platform.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
test-platform.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
testing-unittest.cc cppgc: Implement testing APIs 2021-04-06 13:44:29 +00:00
tests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
tests.h cppgc: Adjust explicit management calls 2021-05-05 14:18:37 +00:00
visitor-unittest.cc cppgc: Another batch of tests 2021-04-22 22:46:58 +00:00
weak-container-unittest.cc cppgc: Expose write barriers 2020-11-24 17:41:11 +00:00
workloads-unittest.cc cppgc: fix compilation error on gcc 2021-04-14 18:05:25 +00:00
write-barrier-unittest.cc cppgc: Check for correct base class inheritance 2021-04-08 09:23:57 +00:00