Searched refs:initprot (Results 1 - 25 of 37) sorted by relevance

12

/macosx-10.9.5/cctools-845/ld/
H A Dspecs.h42 vm_prot_t initprot; /* specified initial protection */ member in struct:segment_spec
H A Dlayout.c607 if((seg_spec->initprot &
613 seg_spec->initprot |= (VM_PROT_READ |
617 stack_segment.sg.initprot = seg_spec->initprot;
633 stack_segment.sg.initprot = stack_segment.sg.maxprot;
843 msg->sg.initprot = VM_PROT_READ | VM_PROT_EXECUTE;
854 msg->sg.initprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE;
865 msg->sg.initprot = VM_PROT_READ;
886 msg->sg.initprot = VM_PROT_READ | VM_PROT_WRITE;
892 msg->sg.initprot |
[all...]
H A Dspecs.c358 msg->sg.initprot = segment_specs[i].initprot;
414 print_prot(segment_specs[i].initprot);
H A Dfvmlibs.c300 print("\t initprot 0x%08x\n", (unsigned int)(msg->sg.initprot));
H A Dld.c463 static enum bool check_max_init_prot(vm_prot_t maxprot, vm_prot_t initprot);
1164 -segprot <segname> <maxprot> <initprot>
1179 seg_spec->initprot = getprot(argv[i+3], &endp);
1185 seg_spec->initprot) == FALSE)
3307 vm_prot_t initprot)
3309 if(((initprot & VM_PROT_READ) && !(maxprot & VM_PROT_READ)) ||
3310 ((initprot & VM_PROT_WRITE) && !(maxprot & VM_PROT_WRITE)) ||
3311 ((initprot & VM_PROT_EXECUTE) && !(maxprot & VM_PROT_EXECUTE)) )
3305 check_max_init_prot( vm_prot_t maxprot, vm_prot_t initprot) argument
/macosx-10.9.5/xnu-2422.115.4/libkern/kxld/
H A Dkxld_seg.c90 seg->initprot = src->initprot;
119 seg->initprot = src->initprot;
152 seg->initprot = VM_PROT_ALL;
425 le->initprot = VM_PROT_DEFAULT;
447 seg->initprot = 0;
653 seghdr->initprot = seg->initprot;
693 seghdr->initprot
[all...]
H A Dkxld_seg.h56 vm_prot_t initprot; member in struct:kxld_seg
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dmach_loader.c254 scp->initprot = scp32->initprot;
926 vm_prot_t initprot; local
984 (scp->initprot & VM_PROT_ALL) == VM_PROT_NONE &&
1029 initprot = (scp->initprot) & VM_PROT_ALL;
1037 initprot, maxprot,
1079 scp->initprot, scp->maxprot,
H A Dkern_core.c413 sc64->initprot = prot;
426 sc->initprot = prot;
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/mach-o/
H A Dloader.h323 * by the maxprot and initprot fields. If the segment has sections then the
336 vm_prot_t initprot; /* initial VM protection */ member in struct:segment_command
356 vm_prot_t initprot; /* initial VM protection */ member in struct:segment_command_64
/macosx-10.9.5/cctools-845/libmacho/
H A Dswap.c106 sg->initprot = OSSwapInt32(sg->initprot);
124 sg->initprot = OSSwapInt32(sg->initprot);
/macosx-10.9.5/cctools-845/misc/
H A Dcheck_dylib.c328 if((sg->initprot & VM_PROT_WRITE) == 0){
H A Dctf_insert.c569 sg_CTF->initprot = VM_PROT_READ;
604 sg64_CTF->initprot = VM_PROT_READ;
H A Dchecksyms.c547 if((sg->initprot & VM_PROT_WRITE) == 0 &&
579 if((sg64->initprot & VM_PROT_WRITE) == 0 &&
684 if((sg->initprot & VM_PROT_WRITE) == 0){
/macosx-10.9.5/dyld-239.4/src/
H A DdyldInitialization.cpp165 if ( (firstWritableSeg == NULL) && (seg->initprot & VM_PROT_WRITE) )
H A DImageLoaderMachO.cpp155 if ( segCmd->initprot != (VM_PROT_READ | VM_PROT_EXECUTE) )
541 return ( (segLoadCommand(segIndex)->initprot & VM_PROT_READ) != 0);
547 return ( (segLoadCommand(segIndex)->initprot & VM_PROT_WRITE) != 0);
553 return ( (segLoadCommand(segIndex)->initprot & VM_PROT_EXECUTE) != 0);
559 return (segLoadCommand(segIndex)->initprot == 0);
613 return ( (segCmd->initprot & VM_PROT_EXECUTE)
614 && ((segCmd->initprot & VM_PROT_WRITE) == 0)
/macosx-10.9.5/cctools-845/include/mach-o/
H A Dloader.h324 * by the maxprot and initprot fields. If the segment has sections then the
337 vm_prot_t initprot; /* initial VM protection */ member in struct:segment_command
357 vm_prot_t initprot; /* initial VM protection */ member in struct:segment_command_64
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DMachO.h321 uint32_t initprot; member in struct:llvm::MachO::segment_command
335 uint32_t initprot; member in struct:llvm::MachO::segment_command_64
/macosx-10.9.5/cctools-845/otool/
H A Dofile_print.h200 vm_prot_t initprot,
H A Dofile_print.c1862 sg.maxprot, sg.initprot, sg.nsects, sg.flags,
1898 sg64.maxprot, sg64.initprot, sg64.nsects, sg64.flags,
2428 vm_prot_t initprot,
2490 if((initprot &
2492 printf(" initprot ?(0x%08x)\n", (unsigned int)initprot);
2494 if(initprot & VM_PROT_READ)
2495 printf(" initprot r");
2497 printf(" initprot -");
2498 if(initprot
2419 print_segment_command( uint32_t cmd, uint32_t cmdsize, char *segname, uint64_t vmaddr, uint64_t vmsize, uint64_t fileoff, uint64_t filesize, vm_prot_t maxprot, vm_prot_t initprot, uint32_t nsects, uint32_t flags, uint32_t object_size, enum bool verbose) argument
[all...]
/macosx-10.9.5/dtrace-118.1/libelf/
H A Dbegin.c88 SWAP32(segment->initprot);
103 SWAP32(segment->initprot);
/macosx-10.9.5/xnu-2422.115.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c757 segcmd.initprot = PROT_READ;
797 segcmd.initprot = PROT_READ;
/macosx-10.9.5/dyld-239.4/launch-cache/
H A DMachOFileAbstraction.hpp167 uint32_t initprot() const INLINE { return E::get32(segment.fields.initprot); }
168 void set_initprot(uint32_t value) INLINE { E::set32((uint32_t&)segment.fields.initprot, value); }
H A DMachOLayout.hpp498 segCmd->filesize(), segCmd->initprot(), segCmd->segname()));
/macosx-10.9.5/xnu-2422.115.4/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c528 sc.initprot = VM_PROT_READ;

Completed in 245 milliseconds

12