This is an archive of the discontinued LLVM Phabricator instance.

[HWASAN] Fix PointsIntoChunk to untag pointers. Also added some checks where we know that the pointer should be untagged.
ClosedPublic

Authored by kstoimenov on Jan 23 2023, 10:48 AM.

Diff Detail

Event Timeline

kstoimenov created this revision.Jan 23 2023, 10:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 23 2023, 10:48 AM
Herald added a subscriber: Enna1. · View Herald Transcript
kstoimenov requested review of this revision.Jan 23 2023, 10:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 23 2023, 10:48 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Added IgnoreObjectLocked.

vitalybuka accepted this revision.Jan 23 2023, 3:17 PM
vitalybuka added inline comments.
compiler-rt/lib/hwasan/hwasan_allocator.cpp
524

CHECK_EQ

539

CHECK_EQ

This revision is now accepted and ready to land.Jan 23 2023, 3:17 PM

After landing 2 patches.

Addressed comments.

kstoimenov marked 2 inline comments as done.Jan 23 2023, 4:04 PM
This revision was landed with ongoing or failed builds.Jan 23 2023, 4:35 PM
This revision was automatically updated to reflect the committed changes.