Home
last modified time | relevance | path

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

/xnu-8020.140.41/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-8020.140.41/bsd/kern/
H A Dmach_loader.c310 scp->initprot = scp32->initprot; in widen_segment_command()
1093 if (scp->initprot == 0 && scp->maxprot == 0 && scp->vmaddr == 0) { in parse_machfile()
1100 if (scp->initprot & VM_PROT_EXECUTE) { in parse_machfile()
1107 if (scp->initprot & VM_PROT_WRITE) { in parse_machfile()
1149 ((scp->initprot & (VM_PROT_READ | VM_PROT_EXECUTE)) != (VM_PROT_READ | VM_PROT_EXECUTE))) { in parse_machfile()
1204 … ((scp64->initprot & (VM_PROT_READ | VM_PROT_EXECUTE)) != (VM_PROT_READ | VM_PROT_EXECUTE))) { in parse_machfile()
1797 vm_prot_t initprot, in map_segment() argument
1862 initprot, maxprot, in map_segment()
1876 initprot, maxprot, in map_segment()
1920 if (result->is_cambria && (initprot & VM_PROT_EXECUTE) == VM_PROT_EXECUTE) { in map_segment()
[all …]
H A Dkern_core.c529 sc64->initprot = prot; in coredump()
543 sc->initprot = prot; in coredump()
/xnu-8020.140.41/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-8020.140.41/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-8020.140.41/SETUP/kextsymboltool/
H A Dkextsymboltool.c754 segcmd.initprot = PROT_READ; in main()
792 segcmd.initprot = PROT_READ; in main()
/xnu-8020.140.41/tools/lldbmacros/
H A Dmacho.py333 … LC:{} : {} init:{:#0X} max:{:#0X}'.format(lc_cmd_str, segname, segment.initprot, segment.maxprot),
/xnu-8020.140.41/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-8020.140.41/osfmk/x86_64/
H A Dpmap.c1320 boolean_t NXbit = !(seg->initprot & VM_PROT_EXECUTE), in pmap_lowmem_finalize()
1321 robit = (seg->initprot & (VM_PROT_READ | VM_PROT_WRITE)) == VM_PROT_READ; in pmap_lowmem_finalize()
/xnu-8020.140.41/libkern/c++/
H A DOSKext.cpp7148 kext_map, start_protect, end_protect, seg->initprot, FALSE, kc_type);
7162 kext_map, start_wire, end_wire, seg->initprot, FALSE, kc_type);
11324 if (seg->initprot & VM_PROT_EXECUTE) {
12696 kext_map, start, end, seg->initprot, FALSE, type);
12703 kext_map, start, end, seg->initprot, FALSE, type);
15256 if (seg->initprot & VM_PROT_EXECUTE) {