[3/4] Implement AsanRawPtrService V2
- A part of crrev.com/c/7081651
- Update AsanRawPtrService to support V2. The V2 is guarded by
PA_BUILDFLAG(USE_ASAN_BACKUP_REF_PTR_V2). The BUILDFLAG is true when gn
variable: use_asan_backup_ref_ptr_v2 is true.
- Since AsanRawPtrService V2 depends on
__sanitizer_{malloc,free,ignore_free}_hook(), it is available
on posix platform.
BYPASS_LARGE_CHANGE_WARNING: only affects ASAN builds, not production binaries.
Bug: crbug.com/447520906
Change-Id: Ibe8e4459ac0dd609d6858dc7ac7dcd0cd53715d4
Cq-Include-Trybots: luci.chromium.try:linux-x64-libfuzzer-asan-rel-tests,linux-libfuzzer-asan-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7208619
Commit-Queue: Takashi Sakamoto <tasak@google.com>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1579251}
NOKEYCHECK=True
GitOrigin-RevId: 9cef672e8c0569269ce40cb2b8bd18bdd9e25029
3 files changed