reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/Unix/Memory.inc
   50     return PROT_READ;
   54     return PROT_READ | PROT_WRITE;
   56     return PROT_READ | PROT_EXEC;
   59     return PROT_READ | PROT_WRITE | PROT_EXEC;
lib/Support/Unix/Path.inc
  750   int prot = (Mode == readonly) ? PROT_READ : (PROT_READ | PROT_WRITE);
  750   int prot = (Mode == readonly) ? PROT_READ : (PROT_READ | PROT_WRITE);
projects/compiler-rt/lib/builtins/enable_execute_stack.c
   65   (void)mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
projects/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
   34   if (mprotect(Ptr, Size, PROT_READ | PROT_WRITE) != 0) {
projects/compiler-rt/lib/profile/GCDAProfiling.c
  284   write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE,
projects/compiler-rt/lib/profile/InstrProfilingFile.c
  198   ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE,
projects/compiler-rt/lib/safestack/safestack.cpp
   93   void *addr = Mmap(nullptr, size + guard, PROT_READ | PROT_WRITE,
projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
   46   uptr res = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
   68   uptr res = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
  105   uptr p = MmapNamed(nullptr, size, PROT_READ | PROT_WRITE,
  118   uptr p = MmapNamed((void *)fixed_addr, size, PROT_READ | PROT_WRITE,
  146   return 0 == internal_mprotect((void *)addr, size, PROT_READ);
  199   uptr map = internal_mmap(nullptr, *buff_size, PROT_READ, MAP_PRIVATE, fd, 0);
  206   uptr p = internal_mmap(addr, size, PROT_READ | PROT_WRITE, flags, fd, offset);
projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
  312       MmapNamed((void *)fixed_addr, size, PROT_READ | PROT_WRITE,
projects/compiler-rt/lib/scudo/standalone/linux.cpp
   52     MmapProt = PROT_READ | PROT_WRITE;
projects/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
  189   uptr page = internal_mmap(0, GetPageSizeCached(), PROT_READ | PROT_WRITE,
  209                       PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, 0);
projects/compiler-rt/lib/xray/xray_allocator.h
   63   uptr B = internal_mmap(NULL, RoundedSize, PROT_READ | PROT_WRITE,
  112   uptr B = internal_mmap(NULL, RoundedSize, PROT_READ | PROT_WRITE,
projects/compiler-rt/lib/xray/xray_interface.cpp
  124                       PROT_READ | PROT_WRITE | PROT_EXEC);
  141       mprotect(PageAlignedAddr, MProtectLen, PROT_READ | PROT_EXEC);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
  136   auto mmap_aux = mmap(nullptr, bufsize, PROT_READ, MAP_SHARED, fd,
tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
   74           prot_arg |= PROT_READ;
utils/unittest/googletest/src/gtest-death-test.cc
 1075     void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,