llvm-project/llvm/test/Transforms/SafeStack
Vlad Tsyrklevich 2499aeead9 SafeStack: Prevent OOB reads with mem intrinsics
Summary:
Currently, the SafeStack analysis disallows out-of-bounds writes but not
out-of-bounds reads for mem intrinsics like llvm.memcpy. This could
cause leaks of pointers to the safe stack by leaking spilled registers/
frame pointers. Check for allocas used as source or destination pointers
to mem intrinsics.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: pcc, llvm-commits, kcc

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

llvm-svn: 341116
2018-08-30 20:44:51 +00:00
..
AArch64 [SafeStack] Handle unreachable code with safe stack coloring. 2018-08-22 21:38:57 +00:00
ARM [SafeStack] Set debug location for calls to __safestack_pointer_address. 2018-08-24 20:42:32 +00:00
X86 SafeStack: Prevent OOB reads with mem intrinsics 2018-08-30 20:44:51 +00:00