[PATCH] D18846: [safestack] Add canary to unsafe stack frames

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 14:34:34 PDT 2016


eugenis added a comment.

moveStaticAllocasToUnsafeStack must be called once per function.

Also, there may be no unsafe stack frame at all, then there would be no need for the guard at all. SafeStack is currently smarter about this than StackProtector; it uses SCEV to prove that allocas can never overflow.


Repository:
  rL LLVM

http://reviews.llvm.org/D18846





More information about the llvm-commits mailing list