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.rst33 SafeStack
DLanguageExtensions.rst1918 with :doc:`SafeStack`.
DUsersManual.rst972 - ``-fsanitize=safe-stack``: :doc:`safe stack <SafeStack>`
/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp101 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 …]
DCMakeLists.txt10 SafeStack.cpp
DAndroid.mk12 SafeStack.cpp \
/external/compiler-rt/test/safestack/
DCMakeLists.txt26 add_lit_testsuite(check-safestack "Running the SafeStack tests"
29 set_target_properties(check-safestack PROPERTIES FOLDER "SafeStack tests")
Dlit.cfg6 config.name = 'SafeStack'
22 # SafeStack tests are currently supported on Linux, FreeBSD and Darwin only.
/external/llvm/lib/Transforms/IPO/
DInliner.cpp103 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()
DFunctionAttrs.cpp1879 .Case("safestack", Attribute::SafeStack) in parseAttrKind()
/external/clang/include/clang/Driver/
DSanitizerArgs.h55 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/clang/include/clang/Basic/
DSanitizers.def96 SANITIZER("safe-stack", SafeStack)
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp278 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack)) in CreateGlobalInitOrDestructFunction()
279 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
DCodeGenFunction.cpp680 if (SanOpts.has(SanitizerKind::SafeStack)) in StartFunction()
681 Fn->addFnAttr(llvm::Attribute::SafeStack); in StartFunction()
/external/llvm/include/llvm/IR/
DAttributes.td127 def SafeStack : EnumAttr<"safestack">;
/external/llvm/lib/IR/
DAttributes.cpp263 if (hasAttribute(Attribute::SafeStack)) in getAsString()
450 case Attribute::SafeStack: return 1ULL << 47; in getAttrMask()
DVerifier.cpp1235 I->getKindAsEnum() == Attribute::SafeStack || in VerifyAttributeTypes()
/external/clang/lib/Driver/
DToolChains.cpp1221 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
3152 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
4138 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1209 .Case("safe_stack", LangOpts.Sanitize.has(SanitizerKind::SafeStack)) in HasFeature()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp516 HANDLE_ATTR(SafeStack); in printAttributes()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp247 case Attribute::SafeStack: in getAttrKindEncoding()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1303 return Attribute::SafeStack; in getAttrFromCode()

12