llvm-project/llvm/test/Instrumentation
Vitaly Buka 74443f0778 [asan] Copy arguments passed by value into explicit allocas for ASan
Summary:
  ASan determines the stack layout from alloca instructions. Since
arguments marked as "byval" do not have an explicit alloca instruction, ASan
does not produce red zones for them. This commit produces an explicit alloca
instruction and copies the byval argument into the allocated memory so that red
zones are produced.

  Submitted on behalf of @morehouse (Matt Morehouse)

  Reviewers: eugenis, vitalybuka

  Reviewed By: eugenis

  Subscribers: hiraditya, llvm-commits

  Differential Revision: https://reviews.llvm.org/D34789

llvm-svn: 308387
2017-07-18 22:28:03 +00:00
..
AddressSanitizer [asan] Copy arguments passed by value into explicit allocas for ASan 2017-07-18 22:28:03 +00:00
BoundsChecking Add a bunch of CHECK missing colons in tests. NFC. 2015-03-14 01:43:57 +00:00
DataFlowSanitizer Add element-atomic mem intrinsic canary tests for Dataflow Sanitizer. 2017-07-18 01:06:52 +00:00
EfficiencySanitizer Add element-atomic mem intrinsic canary tests for Efficiency Sanitizer. 2017-07-18 01:06:53 +00:00
InstrProfiling [InstrProf] Don't take the address of alwaysinline available_externally functions 2017-06-13 22:12:35 +00:00
MemorySanitizer Add element-atomic mem intrinsic canary tests for Memory Sanitizer. 2017-07-18 01:06:54 +00:00
SanitizerCoverage [sancov] Fix PR33732 2017-07-18 11:47:56 +00:00
ThreadSanitizer Enhance synchscope representation 2017-07-11 22:23:00 +00:00