hanchenye-llvm-project/llvm/test/Instrumentation
Kostya Serebryany 530e207d8a [asan] don't unpoison redzones on function exit in use-after-return mode.
Summary:
Before this change the instrumented code before Ret instructions looked like:
  <Unpoison Frame Redzones>
  if (Frame != OriginalFrame) // I.e. Frame is fake
     <Poison Complete Frame>

Now the instrumented code looks like:
  if (Frame != OriginalFrame) // I.e. Frame is fake
     <Poison Complete Frame>
  else
     <Unpoison Frame Redzones>

Reviewers: eugenis

Reviewed By: eugenis

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2458

llvm-svn: 197907
2013-12-23 14:15:08 +00:00
..
AddressSanitizer [asan] don't unpoison redzones on function exit in use-after-return mode. 2013-12-23 14:15:08 +00:00
BoundsChecking Teach MemoryBuiltins about address spaces 2013-12-14 00:27:48 +00:00
DataFlowSanitizer Introduce two command-line flags for the instrumentation pass to control whether the labels of pointers should be ignored in load and store instructions 2013-11-21 23:20:54 +00:00
MemorySanitizer Add an explicit insert point argument to SplitBlockAndInsertIfThen. 2013-12-19 13:29:56 +00:00
ThreadSanitizer [tsan] fix PR18146: sometimes a variable written into vptr could have an integer type (after other optimizations) 2013-12-05 15:03:02 +00:00