[PATCH] D112853: [HWASan] Apply TagMaskByte to every global tag.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 15:53:52 PDT 2021


morehouse created this revision.
morehouse added reviewers: hctim, eugenis, vitalybuka.
Herald added a subscriber: hiraditya.
morehouse requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.

Previously we only applied it to the first one, which could allow
subsequent global tags to exceed the valid number of bits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112853

Files:
  compiler-rt/test/hwasan/TestCases/globals-wrap-tag.c
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112853.383520.patch
Type: text/x-patch
Size: 7567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211029/98f547b6/attachment.bin>


More information about the llvm-commits mailing list