| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessDebugger.cpp | 32 static DWORD ConvertLldbToWinApiProtect(uint32_t protect) { in ConvertLldbToWinApiProtect() argument 40 if (protect & ePermissionsExecutable) in ConvertLldbToWinApiProtect() 50 static bool IsPageReadable(uint32_t protect) { in IsPageReadable() argument 51 return (protect & PAGE_NOACCESS) == 0; in IsPageReadable() 54 static bool IsPageWritable(uint32_t protect) { in IsPageWritable() argument 55 return (protect & (PAGE_EXECUTE_READWRITE | PAGE_EXECUTE_WRITECOPY | in IsPageWritable() 59 static bool IsPageExecutable(uint32_t protect) { in IsPageExecutable() argument 60 return (protect & (PAGE_EXECUTE | PAGE_EXECUTE_READ | PAGE_EXECUTE_READWRITE | in IsPageExecutable() 340 auto protect = ConvertLldbToWinApiProtect(permissions); in AllocateMemory() local 341 auto result = ::VirtualAllocEx(handle, nullptr, size, MEM_COMMIT, protect); in AllocateMemory()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_linux.cpp | 136 bool protect = type == MappingDesc::INVALID || in InitShadow() local 138 CHECK(!(map && protect)); in InitShadow() 139 if (!map && !protect) in InitShadow() 149 if (protect) { in InitShadow()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | future-check-features.ll | 1 ; RUN: llc -mattr=pcrelative-memops,prefix-instrs,paired-vector-memops,mma,rop-protect,privileged \ 4 ; RUN: llc -mattr=pcrelative-memops,prefix-instrs,paired-vector-memops,mma,rop-protect,privileged \
|
| H A D | ppc64-rop-protection.ll | 4 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix LE-P10 7 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix LE-P9 10 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix LE-P8 13 ; RUN: -mattr=+rop-protect -O0 < %s | FileCheck %s --check-prefix LE-P10-O0 16 ; RUN: -mattr=+rop-protect -O0 < %s | FileCheck %s --check-prefix LE-P9-O0 19 ; RUN: -mattr=+rop-protect -O0 < %s | FileCheck %s --check-prefix LE-P8-O0 22 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P10 25 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P9 28 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P8 59 ;; This test checks that the ROP protect instructions have been correctly [all …]
|
| H A D | ppc64-rop-protection-aix.ll | 4 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P10 7 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P9 10 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-P8 13 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-32BIT-P10 16 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-32BIT-P9 19 ; RUN: -mattr=+rop-protect < %s | FileCheck %s --check-prefix BE-32BIT-P8 22 ; RUN: -mattr=+rop-protect -mattr=+privileged < %s | FileCheck %s --check-prefix BE-P10-PRIV 25 ; RUN: -mattr=+rop-protect -mattr=+privileged < %s | FileCheck %s --check-prefix BE-P9-PRIV 28 ; RUN: -mattr=+rop-protect -mattr=+privileged < %s | FileCheck %s --check-prefix BE-P8-PRIV 41 ;; This test checks that the ROP protect instructions have been correctly [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | relro-tls.s | 9 ## Currently p_memsz of PT_GNU_RELRO is rounded up to protect the last page.
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan.cpp | 1088 bool protect = type == MappingDesc::INVALID || in InitShadow() local 1090 CHECK(!(map && protect)); in InitShadow() 1091 if (!map && !protect) in InitShadow() 1101 if (protect) { in InitShadow()
|
| /llvm-project-15.0.7/llvm/test/Transforms/ArgumentPromotion/ |
| H A D | dbg.ll | 33 store i32* %2, i32** %1, align 8 ; to protect from promotion
|
| H A D | fp80.ll | 75 …%gep_idx = getelementptr inbounds %union.u, %union.u* %arg, i64 %idx, i32 0 ; to protect from prom…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | unhandled-self-assignment.rst | 9 Finds user-defined copy assignment operators which do not protect the code
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DiagnosticCommonKinds.td | 283 "Unable to protect inline asm that clobbers stack pointer against stack clash">, 287 : Warning<"Speculative load hardening does not protect functions with "
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPC.td | 306 SubtargetFeature<"rop-protect", "HasROPProtect", "true", 307 "Add ROP protect">;
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Generic/ |
| H A D | namespace.ll | 134 ; changed to protect the guilty. The C++ source code is:
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ControlFlowIntegrityDesign.rst | 743 RCFI does not protect `RET` instructions: 750 …re.intel.com/en-us/blogs/2016/06/09/intel-release-new-technology-specifications-protect-rop-attacks 803 ability to protect against invalid casts between polymorphic types.
|
| H A D | ControlFlowIntegrity.rst | 301 programs, whereas ``-fsanitize=cfi-icall`` can protect both C and C++ programs.
|
| H A D | ClangCommandLineReference.rst | 2369 .. option:: -fprotect-parens, -fno-protect-parens 3733 .. option:: -mrop-protect
|
| /llvm-project-15.0.7/lldb/docs/use/ |
| H A D | tutorial.rst | 23 double-quotes are used to protect white-spaces in an argument. If you need to 185 might be some complex expression that would be painful to backslash protect.
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Signals.inc | 285 // doing it. We also have to protect the handlers and their count because
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | LibFuzzer.rst | 539 - The target code uses checksums to protect from invalid inputs. 751 * It is harder to protect the in-process fuzzer from excessive memory
|
| H A D | Atomics.rst | 232 either be used for atomic operations which do not protect other memory (like
|
| H A D | SpeculativeLoadHardening.md | 772 to protect an extra page of the low address space to account for this
|
| /llvm-project-15.0.7/lldb/docs/ |
| H A D | lldb-for-gdb-users.txt | 426 you don't have to quote your whole expression, nor backslash protect quotes,
|
| /llvm-project-15.0.7/polly/lib/External/isl/doc/ |
| H A D | implementation.tex | 1669 \protect\textcite{Kelly1996closure}} 1753 \protect\textcite{Beletska2009} and its transitive closure}
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | identifier-naming.rst | 1824 Identifies and/or transforms protect method names as follows:
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrCompiler.td | 120 // To protect against stack clash, dynamic allocation should perform a memory
|