/openbsd-current/distrib/special/ |
H A D | Makefile.inc | 7 COPTS+=-fcf-protection=none -fno-ret-clean 10 COPTS+=-mbranch-protection=none
|
/openbsd-current/regress/sys/btcfi/ |
H A D | Makefile | 9 NOBTCFI_CFLAGS= -mbranch-protection=none 11 NOBTCFI_CFLAGS= -fcf-protection=none
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_linux.cpp | 46 segment->protection = 0; 47 if (*data_.current++ == 'r') segment->protection |= kProtectionRead; 49 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite; 51 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute; 53 if (*data_.current++ == 's') segment->protection |= kProtectionShared;
|
H A D | sanitizer_procmaps_solaris.cpp | 54 segment->protection = 0; 56 segment->protection |= kProtectionRead; 58 segment->protection |= kProtectionWrite; 60 segment->protection |= kProtectionExecute; 62 segment->protection |= kProtectionShared;
|
H A D | sanitizer_procmaps.h | 31 // Memory protection masks. 45 bool IsReadable() const { return protection & kProtectionRead; } 46 bool IsWritable() const { return protection & kProtectionWrite; } 47 bool IsExecutable() const { return protection & kProtectionExecute; } 48 bool IsShared() const { return protection & kProtectionShared; } 57 uptr protection; member in class:__sanitizer::MemoryMappedSegment
|
H A D | sanitizer_procmaps_bsd.cpp | 103 segment->protection = 0; 105 segment->protection |= kProtectionRead; 107 segment->protection |= kProtectionWrite; 109 segment->protection |= kProtectionExecute;
|
H A D | sanitizer_procmaps_fuchsia.cpp | 63 segment->protection =
|
H A D | sanitizer_procmaps_mac.cpp | 164 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { 287 // Return the initial protection. 288 segment->protection = sc->initprot;
|
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachVMRegion.cpp | 95 if (m_curr_protection != m_data.protection && m_protection_size > 0) { 97 m_data.protection); 102 (uint64_t)m_protection_size, 0, m_data.protection); 106 m_curr_protection = m_data.protection; 156 m_data.protection, m_data.max_protection, m_data.inheritance, 162 m_curr_protection = m_data.protection; 177 if ((m_data.protection & VM_PROT_READ) == VM_PROT_READ) 179 if ((m_data.protection & VM_PROT_WRITE) == VM_PROT_WRITE) 181 if ((m_data.protection & VM_PROT_EXECUTE) == VM_PROT_EXECUTE) 189 if (m_data.protection [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | fbsd-nat.c | 58 char *protection) 72 &resident, &privateresident, &obj, protection); 90 char protection[4]; local 103 while (fbsd_read_mapping (mapfile, &start, &end, &protection[0])) 107 read = (strchr (protection, 'r') != 0); 108 write = (strchr (protection, 'w') != 0); 109 exec = (strchr (protection, 'x') != 0); 57 fbsd_read_mapping(FILE *mapfile, unsigned long *start, unsigned long *end, char *protection) argument
|
H A D | gnu-nat.c | 2312 vm_prot_t protection; 2363 vm_prot_t protection; 2375 &protection, 2407 region_element->protection = protection; 2425 if (!(scan->protection & VM_PROT_WRITE)) 2431 scan->protection | VM_PROT_WRITE); 2445 if (!(scan->protection & VM_PROT_WRITE)) 2451 scan->protection); 2527 vm_prot_t protection; 2277 vm_prot_t protection; member in struct:vm_region_list 2328 vm_prot_t protection; local 2491 vm_prot_t protection; local [all...] |
/openbsd-current/sys/uvm/ |
H A D | uvm_unix.c | 176 prot = entry->protection; 224 if (!(entry->protection & PROT_WRITE) && 237 if (!(entry->protection & PROT_READ) && 355 error = (*walk)(entry->start, end, end, entry->protection,
|
H A D | uvm_map.c | 417 entry->start, entry->end, entry->protection, NULL); 440 entry->start, entry->end, entry->protection, NULL); 773 /* Check protection. */ 869 entry->protection = prot; 998 /* Check protection. */ 1138 entry->protection = prot; 1231 if (e1->protection != e2->protection || 1597 if (entry->protection == PROT_NONE) 1712 if (iter->protection ! 4020 uvm_map_checkprot(struct vm_map *map, vaddr_t start, vaddr_t end, vm_prot_t protection) argument [all...] |
H A D | uvm_device.c | 123 * desired protection. 373 mapprot = ufi->entry->protection;
|
H A D | uvm_map.h | 128 * and user-exported inheritance and protection information. 157 vm_prot_t protection; /* protection code */ member in struct:vm_map_entry 158 vm_prot_t max_protection; /* maximum protection */
|
/openbsd-current/usr.sbin/procmap/ |
H A D | procmap.c | 641 printf(" protection = %x,\n", vme->protection); 725 (vme->protection & PROT_READ) ? 'r' : '-', 726 (vme->protection & PROT_WRITE) ? 'w' : '-', 727 (vme->protection & PROT_EXEC) ? 'x' : '-', 752 (vme->protection & PROT_READ) ? 'r' : '-', 753 (vme->protection & PROT_WRITE) ? 'w' : '-', 754 (vme->protection & PROT_EXEC) ? 'x' : '-', 777 vme->protection, vme->max_protection, 792 if (vme->protection [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/interception/ |
H A D | interception_win.cpp | 712 // Change memory protection to writable. 713 DWORD protection = 0; 714 if (!ChangeMemoryProtection(header, patch_length, &protection)) 723 // Restore previous memory protection. 724 if (!RestoreMemoryProtection(header, patch_length, protection)) 754 // Change memory protection to writable. 755 DWORD protection = 0; local 756 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) 762 // Restore previous memory protection. 763 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) 861 DWORD protection = 0; local [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cpp | 104 if (segment.protection == 0) // Zero page or mprotected.
|
/openbsd-current/gnu/llvm/compiler-rt/lib/lsan/ |
H A D | lsan_common_mac.cpp | 217 info.protection & kProtectionRead);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/memprof/tests/ |
H A D | rawprofile.cpp | 67 FakeSegment.protection =
|
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 24 // Contrary to what you might expect, the Windows page protection flags 41 llvm_unreachable("Illegal memory protection flag specified!");
|
/openbsd-current/sys/arch/amd64/conf/ |
H A D | Makefile.amd64 | 72 CMACHFLAGS+= -mno-retpoline -fcf-protection=none 75 CMACHFLAGS+= -mretpoline-external-thunk -fcf-protection=branch 178 ${CC} -c ${CFLAGS} ${CPPFLAGS} -fcf-protection=none gapdummy.c -o $@
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | deprecate.pm | 101 than the site library directories, the user gains no protection from having
|
/openbsd-current/sys/arch/arm64/conf/ |
H A D | Makefile.arm64 | 70 CMACHFLAGS+= -mbranch-protection=none 72 CMACHFLAGS+= -mbranch-protection=bti
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_gem_dma_helper.c | 197 mapprot = ufi->entry->protection;
|