This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Asan] Remove chunk pointer from metadata
ClosedPublic

Authored by vitalybuka on Sep 14 2020, 3:58 PM.

Details

Summary

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.

Diff Detail

Event Timeline

vitalybuka created this revision.Sep 14 2020, 3:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 14 2020, 3:58 PM
Herald added subscribers: Restricted Project, jfb. · View Herald Transcript
vitalybuka requested review of this revision.Sep 14 2020, 3:58 PM
This revision is now accepted and ready to land.Sep 14 2020, 5:37 PM
This revision was automatically updated to reflect the committed changes.