[PATCH] D18846: [safestack] Add canary to unsafe stack frames
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 16:11:59 PDT 2016
eugenis created this revision.
eugenis added reviewers: pcc, ed.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
Herald added subscribers: srhines, danalbert, tberghammer.
Add StackProtector to SafeStack.
This adds limited protection against data corruption in the caller frame.
Current implementation treats all stack protector levels as -fstack-protector-all.
This depends on a clang change to allow both safestack and ssp* attributes on the same function.
Repository:
rL LLVM
http://reviews.llvm.org/D18846
Files:
lib/CodeGen/SafeStack.cpp
lib/CodeGen/StackProtector.cpp
lib/IR/Attributes.cpp
test/CodeGen/X86/safestack_ssp.ll
test/Transforms/SafeStack/AArch64/abi_ssp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18846.52863.patch
Type: text/x-patch
Size: 12711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/259bbb78/attachment.bin>
More information about the llvm-commits
mailing list