Home
last modified time | relevance | path

Searched refs:SafeStack (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/docs/
DSafeStack.rst2 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 …]
Dindex.rst35 SafeStack
DLanguageExtensions.rst1967 with :doc:`SafeStack`.
DUsersManual.rst977 - ``-fsanitize=safe-stack``: :doc:`safe stack <SafeStack>`
/external/llvm/lib/CodeGen/
DSafeStack.cpp106 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 …]
DCMakeLists.txt108 SafeStack.cpp
DStackProtector.cpp222 if (F->hasFnAttribute(Attribute::SafeStack)) in RequiresStackProtector()
/external/compiler-rt/test/safestack/
Dlit.cfg6 config.name = 'SafeStack'
22 # SafeStack tests are currently supported on Linux, FreeBSD and Darwin only.
DCMakeLists.txt26 add_lit_testsuite(check-safestack "Running the SafeStack tests"
/external/clang/include/clang/Driver/
DSanitizerArgs.h57 return Sanitizers.has(SanitizerKind::SafeStack); in needsSafeStackRt()
/external/llvm/test/DebugInfo/X86/
Dsafestack-byval.ll3 ; SafeStack for unsafe byval arguments.
6 ; This was built by compiling the following source with SafeStack and
Ddw_op_minus.ll4 ; This was built by compiling the following source with SafeStack and
/external/llvm/test/CodeGen/X86/
Dsafestack_ssp.ll1 ; Test codegen pipeline for SafeStack + StackProtector combination.
/external/llvm/lib/Transforms/IPO/
DForceFunctionAttrs.cpp53 .Case("safestack", Attribute::SafeStack) in parseAttrKind()
/external/clang/include/clang/Basic/
DSanitizers.def96 SANITIZER("safe-stack", SafeStack)
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp286 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack)) in CreateGlobalInitOrDestructFunction()
287 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
DCodeGenFunction.cpp692 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction()
693 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
/external/llvm/test/Transforms/SafeStack/
Ddebug-loc2.ll4 ; SafeStack rewrites them relative to the unsafe stack pointer (base address of
/external/llvm/include/llvm/IR/
DAttributes.td131 def SafeStack : EnumAttr<"safestack">;
/external/llvm/lib/IR/
DAttributes.cpp309 if (hasAttribute(Attribute::SafeStack)) in getAsString()
515 case Attribute::SafeStack: return 1ULL << 47; in getAttrMask()
DVerifier.cpp1281 I->getKindAsEnum() == Attribute::SafeStack || in verifyAttributeTypes()
/external/clang/lib/Driver/
DToolChains.cpp1263 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/
DPPMacroExpansion.cpp1219 .Case("safe_stack", LangOpts.Sanitize.has(SanitizerKind::SafeStack)) in HasFeature()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp654 case Attribute::SafeStack: in getAttrKindEncoding()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1457 return Attribute::SafeStack; in getAttrFromCode()

12