[llvm-branch-commits] [compiler-rt] [HWASan] use unused tags for uaf tag, if possible (PR #191914)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 13 17:47:23 PDT 2026


================
@@ -30,7 +31,7 @@ uptr TagMemory(uptr p, uptr size, tag_t tag) {
 // --- Implementation of LSan-specific functions --- {{{1
 namespace __lsan {
 bool WordIsPoisoned(uptr addr) {
----------------
vitalybuka wrote:

However check ScanForPointers
I believe allocator already can tell if block is dead

I think here we need to comparet addr tag with tag storred in allocator if any

https://github.com/llvm/llvm-project/pull/191914


More information about the llvm-branch-commits mailing list