Skip to content
Commit eb5a69ab authored by Anton Bikineev's avatar Anton Bikineev Committed by Chromium LUCI CQ
Browse files

PCScan: Implement lazy safepoints

Safepoints strengthen PCScan security by blocking mutators from doing
potentially malicious work. Laziness allows to avoid eager
stop-the-world and block only regular executed code of the attacker
(malloc/free). While blocking, mutators have a chance to help out
PCScan.

This doesn't implements raceful wait-free scanning for simplicity
reasons, but this can be addressed in the future, if blocking becomes an
issue.

The CL introduces safepoints only on the malloc path.

Followups:
1) Reduce snapshotting.

Bug: 11297512
Change-Id: Id990fd96ab118bba561726fa427d33d4962c72c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2765642


Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#864965}
parent e4bfc9d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment