[PATCH] D149220: [hwasan] Remove UAR tag branch !ClUARRetagToZero

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 17:49:13 PDT 2023


vitalybuka created this revision.
Herald added subscribers: hoy, luke, Enna1, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: All.
vitalybuka requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, MaskRay.
Herald added a project: LLVM.

This is leftover from older version of HWASAN.
The current HWASAN asumption is that new stack
frames are tagged with zero, which make getNextTagWithCall
or StackTag ^ TagMaskByte unusable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149220

Files:
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
  llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca.ll
  llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149220.517001.patch
Type: text/x-patch
Size: 15792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/64014804/attachment.bin>


More information about the llvm-commits mailing list