| /llvm-project-15.0.7/clang/docs/ |
| H A D | SafeStack.rst | 2 SafeStack title 20 SafeStack is a part of the `Code-Pointer Integrity (CPI) Project 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. 59 without SafeStack. An executable compiled with SafeStack can load dynamic 61 dynamic libraries with SafeStack is not supported. 118 the SafeStack instrumentation in final binaries. 129 SafeStack was tested on Linux, NetBSD, FreeBSD and macOS. 144 // code that builds only under SafeStack [all …]
|
| H A D | index.rst | 40 SafeStack
|
| H A D | ShadowCallStack.rst | 34 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
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 110 class SafeStack { class 204 constexpr Align SafeStack::StackAlignment; 217 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() 377 void SafeStack::findInsts(Function &F, in findInsts() 487 Value *SafeStack::moveStaticAllocasToUnsafeStack( in moveStaticAllocasToUnsafeStack() 654 void SafeStack::moveDynamicAllocasToUnsafeStack( in moveDynamicAllocasToUnsafeStack() 722 bool SafeStack::ShouldInlinePointerAddress(CallInst &CI) { in ShouldInlinePointerAddress() 733 void SafeStack::TryInlinePointerAddress() { in TryInlinePointerAddress() 752 bool SafeStack::run() { in run() 753 assert(F.hasFnAttribute(Attribute::SafeStack) && in run() [all …]
|
| H A D | CMakeLists.txt | 192 SafeStack.cpp
|
| H A D | StackProtector.cpp | 282 if (F->hasFnAttribute(Attribute::SafeStack)) in RequiresStackProtector()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | CloudABI.cpp | 145 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 150 return SanitizerKind::SafeStack; in getDefaultSanitizers()
|
| H A D | Contiki.cpp | 25 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
| H A D | Fuchsia.cpp | 438 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers() 451 Res |= SanitizerKind::SafeStack; in getDefaultSanitizers()
|
| H A D | FreeBSD.cpp | 500 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
| H A D | NetBSD.cpp | 484 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
| H A D | Linux.cpp | 753 Res |= SanitizerKind::SafeStack; in getSupportedSanitizers()
|
| /llvm-project-15.0.7/compiler-rt/test/safestack/ |
| H A D | CMakeLists.txt | 28 add_lit_testsuite(check-safestack "Running the SafeStack tests"
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | safestack-byval.ll | 3 ; SafeStack for unsafe byval arguments. 6 ; This was built by compiling the following source with SafeStack and
|
| H A D | dw_op_minus.mir | 4 # This was built by compiling the following source with SafeStack and
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | safestack_ssp.ll | 1 ; Test codegen pipeline for SafeStack + StackProtector combination.
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 72 Attribute::SafeStack, in isValidForDXIL()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | SanitizerArgs.cpp | 54 SanitizerKind::SafeStack | SanitizerKind::ShadowCallStack | 486 std::make_pair(SanitizerKind::SafeStack, in SanitizerArgs() 496 SanitizerKind::SafeStack), in SanitizerArgs() 501 SanitizerKind::Scudo | SanitizerKind::SafeStack), in SanitizerArgs() 963 if (AllAddedKinds & SanitizerKind::SafeStack) { in SanitizerArgs()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | StackSafetyAnalysis.rst | 13 unnecessary instrumentation of 'safe' variables. SafeStack is going to be the
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/CodeGen/ |
| H A D | BUILD.gn | 189 "SafeStack.cpp",
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 477 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrCleanUpFunction() 478 !isInNoSanitizeList(SanitizerKind::SafeStack, Fn, Loc)) in CreateGlobalInitOrCleanUpFunction() 479 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrCleanUpFunction()
|
| /llvm-project-15.0.7/llvm/test/Transforms/SafeStack/X86/ |
| H A D | debug-loc2.ll | 4 ; SafeStack rewrites them relative to the unsafe stack pointer (base address of
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Sanitizers.def | 131 SANITIZER("safe-stack", SafeStack)
|
| H A D | Features.def | 232 FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack))
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 229 def SafeStack : EnumAttr<"safestack", [FnAttr]>;
|