Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DProcessDebugger.cpp32 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 Dmsan_linux.cpp136 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 Dfuture-check-features.ll1 ; 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 Dppc64-rop-protection.ll4 ; 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 Dppc64-rop-protection-aix.ll4 ; 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 Drelro-tls.s9 ## 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 Ddfsan.cpp1088 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 Ddbg.ll33 store i32* %2, i32** %1, align 8 ; to protect from promotion
H A Dfp80.ll75 …%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 Dunhandled-self-assignment.rst9 Finds user-defined copy assignment operators which do not protect the code
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticCommonKinds.td283 "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 DPPC.td306 SubtargetFeature<"rop-protect", "HasROPProtect", "true",
307 "Add ROP protect">;
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dnamespace.ll134 ; changed to protect the guilty. The C++ source code is:
/llvm-project-15.0.7/clang/docs/
H A DControlFlowIntegrityDesign.rst743 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 DControlFlowIntegrity.rst301 programs, whereas ``-fsanitize=cfi-icall`` can protect both C and C++ programs.
H A DClangCommandLineReference.rst2369 .. option:: -fprotect-parens, -fno-protect-parens
3733 .. option:: -mrop-protect
/llvm-project-15.0.7/lldb/docs/use/
H A Dtutorial.rst23 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 DSignals.inc285 // doing it. We also have to protect the handlers and their count because
/llvm-project-15.0.7/llvm/docs/
H A DLibFuzzer.rst539 - 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 DAtomics.rst232 either be used for atomic operations which do not protect other memory (like
H A DSpeculativeLoadHardening.md772 to protect an extra page of the low address space to account for this
/llvm-project-15.0.7/lldb/docs/
H A Dlldb-for-gdb-users.txt426 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 Dimplementation.tex1669 \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 Didentifier-naming.rst1824 Identifies and/or transforms protect method names as follows:
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrCompiler.td120 // To protect against stack clash, dynamic allocation should perform a memory

12