Home
last modified time | relevance | path

Searched refs:Prot (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h36 RemoteAllocGroup(MemProt Prot) : Prot(Prot) {} in RemoteAllocGroup()
37 RemoteAllocGroup(MemProt Prot, bool FinalizeLifetime) in RemoteAllocGroup()
38 : Prot(Prot), FinalizeLifetime(FinalizeLifetime) {} in RemoteAllocGroup()
39 RemoteAllocGroup(const AllocGroup &AG) : Prot(AG.getMemProt()) { in RemoteAllocGroup()
45 MemProt Prot; member
167 if ((RAG.Prot & MemProt::Read) != MemProt::None) in serialize()
169 if ((RAG.Prot & MemProt::Write) != MemProt::None) in serialize()
171 if ((RAG.Prot & MemProt::Exec) != MemProt::None) in serialize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMmapWriteExecChecker.cpp70 int64_t Prot = ProtLoc->getValue()->getSExtValue(); in checkPreCall() local
72 if ((Prot & ProtWrite) && (Prot & ProtExec)) { in checkPreCall()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport_linux.cpp44 void NORETURN reportProtectError(uptr Addr, uptr Size, int Prot) { in reportProtectError() argument
49 strerror(errno), Addr, Size, Prot); in reportProtectError()
H A Dlinux.cpp93 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE); in setMemoryPermission() local
94 if (mprotect(reinterpret_cast<void *>(Addr), Size, Prot) != 0) in setMemoryPermission()
95 reportProtectError(Addr, Size, Prot); in setMemoryPermission()
H A Dfuchsia.cpp169 const zx_vm_option_t Prot = in setMemoryPermission() local
173 const zx_status_t Status = _zx_vmar_protect(Data->Vmar, Prot, Addr, Size); in setMemoryPermission()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp159 if ((Segment.RAG.Prot & MemProt::Read) == MemProt::Read) in initialize()
161 if ((Segment.RAG.Prot & MemProt::Write) == MemProt::Write) in initialize()
163 if ((Segment.RAG.Prot & MemProt::Exec) == MemProt::Exec) in initialize()
172 DWORD NativeProt = getWindowsProtectionFlags(Segment.RAG.Prot); in initialize()
180 if ((Segment.RAG.Prot & MemProt::Exec) == MemProt::Exec) in initialize()
H A DSimpleExecutorMemoryManager.cpp135 toSysMemoryProtectionFlags(Seg.RAG.Prot))) in finalize()
137 if ((Seg.RAG.Prot & MemProt::Exec) == MemProt::Exec) in finalize()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp146 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() local
148 Prot |= orc::MemProt::Exec; in graphifySections()
150 Prot |= orc::MemProt::Read; in graphifySections()
152 Prot |= orc::MemProt::Write; in graphifySections()
157 GraphSec = &G->createSection(SectionName, Prot); in graphifySections()
161 if (GraphSec->getMemProt() != Prot) in graphifySections()
H A DELFLinkGraphBuilder.h358 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() local
360 Prot |= orc::MemProt::Exec; in graphifySections()
362 Prot |= orc::MemProt::Write; in graphifySections()
367 GraphSec = &G->createSection(*Name, Prot); in graphifySections()
378 if (GraphSec->getMemProt() != Prot) { in graphifySections()
383 << GraphSec->getMemProt() << " vs " << Prot; in graphifySections()
H A DXCOFFLinkGraphBuilder.cpp173 orc::MemProt Prot = orc::MemProt::Read; in processSections() local
175 Prot |= orc::MemProt::Exec; in processSections()
177 Prot |= orc::MemProt::Write; in processSections()
179 jitlink::Section *GraphSec = &G->createSection(*SectionName, Prot); in processSections()
H A DMachOLinkGraphBuilder.cpp175 orc::MemProt Prot; in createNormalizedSections() local
177 Prot = orc::MemProt::Read | orc::MemProt::Exec; in createNormalizedSections()
179 Prot = orc::MemProt::Read | orc::MemProt::Write; in createNormalizedSections()
184 StringRef(FullyQualifiedName.data(), FullyQualifiedName.size()), Prot); in createNormalizedSections()
H A DJITLinkMemoryManager.cpp321 auto Prot = toSysMemoryProtectionFlags(AG.getMemProt()); in applyProtections() local
326 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
328 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h722 Section(StringRef Name, orc::MemProt Prot, SectionOrdinal SecOrdinal) in Section() argument
723 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section()
747 orc::MemProt getMemProt() const { return Prot; } in getMemProt()
750 void setMemProt(orc::MemProt Prot) { this->Prot = Prot; } in setMemProt() argument
827 orc::MemProt Prot; variable
1138 Section &createSection(StringRef Name, orc::MemProt Prot) { in createSection() argument
1140 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp333 std::string Prot; in getMask() local
334 Prot = ""; in getMask()
335 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask()
336 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask()
337 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask()
338 return Prot; in getMask()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h60 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp925 for (auto *Prot : OIT->getProtocols()) in VisitType() local
926 VisitObjCProtocolDecl(Prot); in VisitType()
1163 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, in generateUSRForObjCProtocol() argument
1167 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp903 uint32_t Prot = in writeObject() local
906 SectionDataSize, Prot, Prot); in writeObject()
/freebsd/usr.sbin/services_mkdb/
H A Dservices1573 pdap-np 1526/tcp #Prospero Data Access Prot non-priv
1574 pdap-np 1526/udp #Prospero Data Access Prot non-priv