kAllocBegMagic should be enough.
kAllocBegMagic is already set for the Secondary allocations.
kAllocBegMagic is good enough for the Primary, but it's even safer for
the Secondary allocator as all allocated block are from mmap.
Depends on D87646.
Paths
| Differential D87647
[NFC][Asan] Remove chunk pointer from metadata ClosedPublic Authored by vitalybuka on Sep 14 2020, 3:58 PM.
Details
Summary kAllocBegMagic should be enough. Depends on D87646.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 14 2020, 5:37 PM Closed by commit rG943b0c8bffc5: [NFC][Asan] Remove chunk pointer from metadata (authored by vitalybuka). · Explain WhySep 15 2020, 12:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 291816 compiler-rt/lib/asan/asan_allocator.cpp
|