Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A 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 …]
H A Dindex.rst39 SafeStack
H A DShadowCallStack.rst34 schemes, like :doc:`SafeStack`, that mirror the entire stack and trade-off
103 .. _`[2]`: https://www.blackhat.com/docs/eu-16/materials/eu-16-Goktas-Bypassing-Clangs-SafeStack.pdf
H A DControlFlowIntegrityDesign.rst670 Various mitigation techniques (e.g. `SafeStack`_, `RFG`_, `Intel CET`_)
748 .. _SafeStack: https://clang.llvm.org/docs/SafeStack.html target
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSafeStack.cpp130 class SafeStack { class
211 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() function in __anoneede60540111::SafeStack
224 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
235 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe()
264 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe()
284 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca()
374 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
382 void SafeStack::findInsts(Function &F, in findInsts()
435 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
471 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard()
[all …]
H A DCMakeLists.txt154 SafeStack.cpp
H A DStackProtector.cpp279 if (F->hasFnAttribute(Attribute::SafeStack)) in RequiresStackProtector()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DCloudABI.cpp143 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
148 return SanitizerKind::SafeStack; in getDefaultSanitizers()
H A DContiki.cpp25 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
H A DFuchsia.cpp419 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
432 Res |= SanitizerKind::SafeStack; in getDefaultSanitizers()
H A DFreeBSD.cpp485 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
H A DNetBSD.cpp478 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
H A DLinux.cpp709 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DSanitizerArgs.cpp51 SanitizerKind::SafeStack | SanitizerKind::ShadowCallStack |
452 std::make_pair(SanitizerKind::SafeStack, in SanitizerArgs()
462 SanitizerKind::SafeStack), in SanitizerArgs()
467 SanitizerKind::Scudo | SanitizerKind::SafeStack), in SanitizerArgs()
875 if (AllAddedKinds & SanitizerKind::SafeStack) { in SanitizerArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp63 .Case("safestack", Attribute::SafeStack) in parseAttrKind()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DStackSafetyAnalysis.rst13 unnecessary instrumentation of 'safe' variables. SafeStack is going to be the
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDeclCXX.cpp422 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrCleanUpFunction()
423 !isInNoSanitizeList(SanitizerKind::SafeStack, Fn, Loc)) in CreateGlobalInitOrCleanUpFunction()
424 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrCleanUpFunction()
H A DCodeGenFunction.cpp763 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction()
764 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
/netbsd-src/external/apache2/llvm/lib/libLLVMCodeGen/
H A DMakefile164 SafeStack.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/CodeGen/
H A DBUILD.gn175 "SafeStack.cpp",
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSanitizers.def128 SANITIZER("safe-stack", SafeStack)
H A DFeatures.def222 FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack))
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DAttributes.td188 def SafeStack : EnumAttr<"safestack">;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp961 case Attribute::SafeStack: in constructFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAttributes.cpp473 if (hasAttribute(Attribute::SafeStack)) in getAsString()

12