Searched refs:protection (Results 1 - 25 of 47) sorted by relevance

12

/openbsd-current/distrib/special/
H A DMakefile.inc7 COPTS+=-fcf-protection=none -fno-ret-clean
10 COPTS+=-mbranch-protection=none
/openbsd-current/regress/sys/btcfi/
H A DMakefile9 NOBTCFI_CFLAGS= -mbranch-protection=none
11 NOBTCFI_CFLAGS= -fcf-protection=none
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_linux.cpp46 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 Dsanitizer_procmaps_solaris.cpp54 segment->protection = 0;
56 segment->protection |= kProtectionRead;
58 segment->protection |= kProtectionWrite;
60 segment->protection |= kProtectionExecute;
62 segment->protection |= kProtectionShared;
H A Dsanitizer_procmaps.h31 // 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 Dsanitizer_procmaps_bsd.cpp103 segment->protection = 0;
105 segment->protection |= kProtectionRead;
107 segment->protection |= kProtectionWrite;
109 segment->protection |= kProtectionExecute;
H A Dsanitizer_procmaps_fuchsia.cpp63 segment->protection =
H A Dsanitizer_procmaps_mac.cpp164 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 DMachVMRegion.cpp95 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 Dfbsd-nat.c58 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 Dgnu-nat.c2312 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 Duvm_unix.c176 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 Duvm_map.c417 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 Duvm_device.c123 * desired protection.
373 mapprot = ufi->entry->protection;
H A Duvm_map.h128 * 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 Dprocmap.c641 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 Dinterception_win.cpp712 // 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 Dtsan_platform_posix.cpp104 if (segment.protection == 0) // Zero page or mprotected.
/openbsd-current/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp217 info.protection & kProtectionRead);
/openbsd-current/gnu/llvm/compiler-rt/lib/memprof/tests/
H A Drawprofile.cpp67 FakeSegment.protection =
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/
H A DMemory.inc24 // 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 DMakefile.amd6472 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 Ddeprecate.pm101 than the site library directories, the user gains no protection from having
/openbsd-current/sys/arch/arm64/conf/
H A DMakefile.arm6470 CMACHFLAGS+= -mbranch-protection=none
72 CMACHFLAGS+= -mbranch-protection=bti
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_gem_dma_helper.c197 mapprot = ufi->entry->protection;

Completed in 188 milliseconds

12