llvm-project/llvm/test/Transforms/SafeStack/X86
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
..
abi.ll
abi_ssp.ll
addr-taken.ll
array-aligned.ll
array.ll
byval.ll
call.ll
cast.ll
coloring-ssp.ll
coloring.ll
coloring2.ll
constant-gep-call.ll
constant-gep.ll
constant-geps.ll
debug-loc-dynamic.ll
debug-loc.ll
debug-loc2.ll
dynamic-alloca.ll
escape-addr-pointer.ll
escape-bitcast-store.ll
escape-bitcast-store2.ll
escape-call.ll
escape-casted-pointer.ll
escape-gep-call.ll
escape-gep-invoke.ll
escape-gep-negative.ll
escape-gep-ptrtoint.ll
escape-gep-store.ll
escape-phi-call.ll
escape-select-call.ll
escape-vector.ll
invoke.ll
layout-frag.ll
layout-region-split.ll
lit.local.cfg
memintrinsic-oob-read.ll SafeStack: Prevent OOB reads with mem intrinsics 2018-08-30 20:44:51 +00:00
no-attr.ll
phi-cycle.ll
phi.ll
ret.ll
setjmp.ll
setjmp2.ll
sink-to-use.ll
ssp.ll
store.ll
struct.ll