Home
last modified time | relevance | path

Searched refs:initprot (Results 1 – 11 of 11) sorted by relevance

/xnu-8019.80.24/libkern/kxld/
H A Dkxld_seg.c93 seg->initprot = src->initprot; in kxld_seg_init_from_macho_32()
123 seg->initprot = src->initprot; in kxld_seg_init_from_macho_64()
156 seg->initprot = VM_PROT_ALL; in kxld_seg_create_seg_from_sections()
432 le->initprot = VM_PROT_DEFAULT; in kxld_seg_init_linkedit()
454 seg->initprot = 0; in kxld_seg_clear()
669 seghdr->initprot = seg->initprot; in seg_export_macho_header_32()
740 seghdr->initprot = seg->initprot; in seg_export_macho_header_64()
854 seg->initprot = TEXT_SEG_PROT; in kxld_seg_set_vm_protections()
857 seg->initprot = DATA_SEG_PROT; in kxld_seg_set_vm_protections()
861 seg->initprot = VM_PROT_ALL; in kxld_seg_set_vm_protections()
H A Dkxld_seg.h56 vm_prot_t initprot; member
/xnu-8019.80.24/bsd/kern/
H A Dmach_loader.c310 scp->initprot = scp32->initprot; in widen_segment_command()
1094 if (scp->initprot == 0 && scp->maxprot == 0 && scp->vmaddr == 0) { in parse_machfile()
1101 if (scp->initprot & VM_PROT_EXECUTE) { in parse_machfile()
1108 if (scp->initprot & VM_PROT_WRITE) { in parse_machfile()
1150 ((scp->initprot & (VM_PROT_READ | VM_PROT_EXECUTE)) != (VM_PROT_READ | VM_PROT_EXECUTE))) { in parse_machfile()
1205 … ((scp64->initprot & (VM_PROT_READ | VM_PROT_EXECUTE)) != (VM_PROT_READ | VM_PROT_EXECUTE))) { in parse_machfile()
1798 vm_prot_t initprot, in map_segment() argument
1863 initprot, maxprot, in map_segment()
1877 initprot, maxprot, in map_segment()
1921 if (result->is_cambria && (initprot & VM_PROT_EXECUTE) == VM_PROT_EXECUTE) { in map_segment()
[all …]
H A Dkern_core.c528 sc64->initprot = prot; in coredump()
542 sc->initprot = prot; in coredump()
/xnu-8019.80.24/EXTERNAL_HEADERS/mach-o/
H A Dloader.h364 vm_prot_t initprot; /* initial VM protection */ member
384 vm_prot_t initprot; /* initial VM protection */ member
/xnu-8019.80.24/san/memory/
H A Dkasan_dynamic_blacklist.c202 bool is_exec = seg->initprot & VM_PROT_EXECUTE; in kasan_dybl_load_kext()
243 bool is_exec = seg->initprot & VM_PROT_EXECUTE; in kasan_dybl_unload_kext()
/xnu-8019.80.24/SETUP/kextsymboltool/
H A Dkextsymboltool.c754 segcmd.initprot = PROT_READ; in main()
792 segcmd.initprot = PROT_READ; in main()
/xnu-8019.80.24/tools/lldbmacros/
H A Dmacho.py230 … LC:{} : {} init:{:#0X} max:{:#0X}'.format(lc_cmd_str, segname, segment.initprot, segment.maxprot),
/xnu-8019.80.24/osfmk/kdp/
H A Dprocessor_core.c464 seg_command.initprot = VM_PROT_READ; in coredump_save_segment_descriptions()
501 seg_command.initprot = VM_PROT_READ; in coredump_save_segment_descriptions()
/xnu-8019.80.24/osfmk/x86_64/
H A Dpmap.c1277 boolean_t NXbit = !(seg->initprot & VM_PROT_EXECUTE), in pmap_lowmem_finalize()
1278 robit = (seg->initprot & (VM_PROT_READ | VM_PROT_WRITE)) == VM_PROT_READ; in pmap_lowmem_finalize()
/xnu-8019.80.24/libkern/c++/
H A DOSKext.cpp7147 kext_map, start_protect, end_protect, seg->initprot, FALSE, kc_type);
7161 kext_map, start_wire, end_wire, seg->initprot, FALSE, kc_type);
11321 if (seg->initprot & VM_PROT_EXECUTE) {
12693 kext_map, start, end, seg->initprot, FALSE, type);
12700 kext_map, start, end, seg->initprot, FALSE, type);
15262 if (seg->initprot & VM_PROT_EXECUTE) {