projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Protection against stack-based memory corruption errors using SafeStack
[oota-llvm.git]
/
include
/
llvm
/
Transforms
/
Instrumentation.h
diff --git
a/include/llvm/Transforms/Instrumentation.h
b/include/llvm/Transforms/Instrumentation.h
index 884f54fd3737c480bc47e7af8a175b77b5c6703f..fbad76c0177a89adef65576048792b0a1bfe91b4 100644
(file)
--- a/
include/llvm/Transforms/Instrumentation.h
+++ b/
include/llvm/Transforms/Instrumentation.h
@@
-132,6
+132,10
@@
inline ModulePass *createDataFlowSanitizerPassForJIT(
// checking on loads, stores, and other memory intrinsics.
FunctionPass *createBoundsCheckingPass();
// checking on loads, stores, and other memory intrinsics.
FunctionPass *createBoundsCheckingPass();
+/// \brief This pass splits the stack into a safe stack and an unsafe stack to
+/// protect against stack-based overflow vulnerabilities.
+FunctionPass *createSafeStackPass();
+
} // End llvm namespace
#endif
} // End llvm namespace
#endif