/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 | 35 SafeStack
|
D | LanguageExtensions.rst | 1967 with :doc:`SafeStack`.
|
D | UsersManual.rst | 977 - ``-fsanitize=safe-stack``: :doc:`safe stack <SafeStack>`
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 106 class SafeStack : public FunctionPass { class 189 SafeStack(const TargetMachine *TM) in SafeStack() function in __anon825189cb0111::SafeStack 193 SafeStack() : SafeStack(nullptr) {} in SafeStack() function in __anon825189cb0111::SafeStack 213 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize() 224 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() 252 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe() 266 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() 359 Value *SafeStack::getOrCreateUnsafeStackPtr(IRBuilder<> &IRB, Function &F) { in getOrCreateUnsafeStackPtr() 395 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard() 405 void SafeStack::findInsts(Function &F, in findInsts() [all …]
|
D | CMakeLists.txt | 108 SafeStack.cpp
|
D | StackProtector.cpp | 222 if (F->hasFnAttribute(Attribute::SafeStack)) in RequiresStackProtector()
|
/external/compiler-rt/test/safestack/ |
D | lit.cfg | 6 config.name = 'SafeStack' 22 # SafeStack tests are currently supported on Linux, FreeBSD and Darwin only.
|
D | CMakeLists.txt | 26 add_lit_testsuite(check-safestack "Running the SafeStack tests"
|
/external/clang/include/clang/Driver/ |
D | SanitizerArgs.h | 57 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/llvm/test/CodeGen/X86/ |
D | safestack_ssp.ll | 1 ; Test codegen pipeline for SafeStack + StackProtector combination.
|
/external/llvm/lib/Transforms/IPO/ |
D | ForceFunctionAttrs.cpp | 53 .Case("safestack", Attribute::SafeStack) in parseAttrKind()
|
/external/clang/include/clang/Basic/ |
D | Sanitizers.def | 96 SANITIZER("safe-stack", SafeStack)
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 286 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack)) in CreateGlobalInitOrDestructFunction() 287 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
|
D | CodeGenFunction.cpp | 692 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction() 693 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
|
/external/llvm/test/Transforms/SafeStack/ |
D | debug-loc2.ll | 4 ; SafeStack rewrites them relative to the unsafe stack pointer (base address of
|
/external/llvm/include/llvm/IR/ |
D | Attributes.td | 131 def SafeStack : EnumAttr<"safestack">;
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 309 if (hasAttribute(Attribute::SafeStack)) in getAsString() 515 case Attribute::SafeStack: return 1ULL << 47; in getAttrMask()
|
D | Verifier.cpp | 1281 I->getKindAsEnum() == Attribute::SafeStack || in verifyAttributeTypes()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 1263 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 3341 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 3346 return SanitizerKind::SafeStack; in getDefaultSanitizers() 3553 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 4681 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 1219 .Case("safe_stack", LangOpts.Sanitize.has(SanitizerKind::SafeStack)) in HasFeature()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 654 case Attribute::SafeStack: in getAttrKindEncoding()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1457 return Attribute::SafeStack; in getAttrFromCode()
|