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

References

lib/Support/Unix/Memory.inc
   52     return PROT_WRITE;
   54     return PROT_READ | PROT_WRITE;
   59     return PROT_READ | PROT_WRITE | PROT_EXEC;
lib/Support/Unix/Path.inc
  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/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,
  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/sanitizer_common/sanitizer_symbolizer_report.cpp
   92   if ((prot & (PROT_WRITE | PROT_EXEC)) != (PROT_WRITE | PROT_EXEC))
   92   if ((prot & (PROT_WRITE | PROT_EXEC)) != (PROT_WRITE | PROT_EXEC))
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,
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);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
  120       mmap(nullptr, (metabufsize + page_size), PROT_WRITE, MAP_SHARED, fd, 0);
tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
   76           prot_arg |= PROT_WRITE;
utils/unittest/googletest/src/gtest-death-test.cc
 1075     void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,