/external/clang/docs/ |
D | SafeStack.rst | 2 SafeStack title 11 SafeStack is an instrumentation pass that protects programs against attacks 20 SafeStack is a part of the `Code-Pointer Integrity (CPI) Project 26 The performance overhead of the SafeStack instrumentation is less than 0.1% on 34 In some cases, SafeStack actually improves the performance. Objects that end up 44 with SafeStack as is. SafeStack requires basic runtime support, which, on most 46 in when the program is compiled with SafeStack. 48 Linking a DSO with SafeStack is not currently supported. 54 work with SafeStack. One example is mark-and-sweep garbage collection 58 SafeStack supports linking statically modules that are compiled with and [all …]
|
D | index.rst | 33 SafeStack
|
D | LanguageExtensions.rst | 1918 with :doc:`SafeStack`.
|
D | UsersManual.rst | 972 - ``-fsanitize=safe-stack``: :doc:`safe stack <SafeStack>`
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SafeStack.cpp | 101 class SafeStack : public FunctionPass { class 175 SafeStack(const TargetMachine *TM) in SafeStack() function in __anon044486e80111::SafeStack 179 SafeStack() : SafeStack(nullptr) {} in SafeStack() function in __anon044486e80111::SafeStack 199 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize() 210 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() 238 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe() 252 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() 345 Value *SafeStack::getOrCreateUnsafeStackPtr(IRBuilder<> &IRB, Function &F) { in getOrCreateUnsafeStackPtr() 381 void SafeStack::findInsts(Function &F, in findInsts() 431 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints() [all …]
|
D | CMakeLists.txt | 10 SafeStack.cpp
|
D | Android.mk | 12 SafeStack.cpp \
|
/external/compiler-rt/test/safestack/ |
D | CMakeLists.txt | 26 add_lit_testsuite(check-safestack "Running the SafeStack tests" 29 set_target_properties(check-safestack PROPERTIES FOLDER "SafeStack tests")
|
D | lit.cfg | 6 config.name = 'SafeStack' 22 # SafeStack tests are currently supported on Linux, FreeBSD and Darwin only.
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 103 if (Callee->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel() 105 Caller->addFnAttr(Attribute::SafeStack); in AdjustCallerSSPLevel() 107 !Caller->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel() 111 !Caller->hasFnAttribute(Attribute::SafeStack) && in AdjustCallerSSPLevel() 116 !Caller->hasFnAttribute(Attribute::SafeStack) && in AdjustCallerSSPLevel()
|
D | FunctionAttrs.cpp | 1879 .Case("safestack", Attribute::SafeStack) in parseAttrKind()
|
/external/clang/include/clang/Driver/ |
D | SanitizerArgs.h | 55 return Sanitizers.has(SanitizerKind::SafeStack); in needsSafeStackRt()
|
/external/llvm/test/DebugInfo/X86/ |
D | safestack-byval.ll | 3 ; SafeStack for unsafe byval arguments. 6 ; This was built by compiling the following source with SafeStack and
|
D | dw_op_minus.ll | 4 ; This was built by compiling the following source with SafeStack and
|
/external/clang/include/clang/Basic/ |
D | Sanitizers.def | 96 SANITIZER("safe-stack", SafeStack)
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 278 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack)) in CreateGlobalInitOrDestructFunction() 279 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
|
D | CodeGenFunction.cpp | 680 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction() 681 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
|
/external/llvm/include/llvm/IR/ |
D | Attributes.td | 127 def SafeStack : EnumAttr<"safestack">;
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 263 if (hasAttribute(Attribute::SafeStack)) in getAsString() 450 case Attribute::SafeStack: return 1ULL << 47; in getAttrMask()
|
D | Verifier.cpp | 1235 I->getKindAsEnum() == Attribute::SafeStack || in VerifyAttributeTypes()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 1221 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 3152 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 4138 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 1209 .Case("safe_stack", LangOpts.Sanitize.has(SanitizerKind::SafeStack)) in HasFeature()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 516 HANDLE_ATTR(SafeStack); in printAttributes()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 247 case Attribute::SafeStack: in getAttrKindEncoding()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1303 return Attribute::SafeStack; in getAttrFromCode()
|