[PATCH] D57158: [KASAN] Instrument globals

Alexander Potapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 08:02:33 PST 2019


glider created this revision.
glider added reviewers: kcc, eugenis, dvyukov.
Herald added a subscriber: llvm-commits.

Enable globals instrumentation in KASAN. To avoid breaking the kernel logic, we don't instrument non-default data sections, most of which usually contain arrays of structs or pointers.


Repository:
  rL LLVM

https://reviews.llvm.org/D57158

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  lib/Transforms/Utils/ModuleUtils.cpp
  test/Instrumentation/AddressSanitizer/adaptive_global_redzones.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57158.183317.patch
Type: text/x-patch
Size: 5348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/572fb2e3/attachment.bin>


More information about the llvm-commits mailing list