HWASAN_ALIASING_MODE needs to untag only
primary allocator pointers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/hwasan/hwasan_allocator.cpp | ||
---|---|---|
384–387 | This "Untag pointer iff it is in a taggable region" idiom is used often enough (e.g., also in AllocationSize and AllocationBegin of https://reviews.llvm.org/D149238) that it might be worth having a helper function. |
compiler-rt/lib/hwasan/hwasan_allocator.cpp | ||
---|---|---|
384–387 | Addressing in followup patches |
This "Untag pointer iff it is in a taggable region" idiom is used often enough (e.g., also in AllocationSize and AllocationBegin of https://reviews.llvm.org/D149238) that it might be worth having a helper function.