/macosx-10.10/xar-254/xar/lib/ |
H A D | macho.h | 44 uint32_t sizeofcmds; member in struct:mach_header
|
H A D | macho.c | 220 context->me[context->curme].mh.sizeofcmds = xar_swap32(mh->sizeofcmds);
|
/macosx-10.10/Libc-1044.1.2/gen/ |
H A D | nlist.c | 252 load_commands = (struct load_command *)malloc(mh.sizeofcmds); 256 if (read(fd, (char *)load_commands, mh.sizeofcmds) != 257 mh.sizeofcmds) { 267 (char *)load_commands + mh.sizeofcmds) {
|
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | kern_core.c | 343 mh64->sizeofcmds = command_size; 352 mh->sizeofcmds = command_size; 472 mh64->sizeofcmds -= segment_count * segment_command_sz; 475 mh->sizeofcmds -= segment_count * segment_command_sz;
|
H A D | mach_loader.c | 475 * the contents of its sizeofcmds, which is currently constrained to 32 578 if ((off_t)(mach_header_sz + header->sizeofcmds) > macho_size) 584 size = round_page(mach_header_sz + header->sizeofcmds); 659 offset > header->sizeofcmds + mach_header_sz) { 748 (char *)addr + mach_header_sz + header->sizeofcmds,
|
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/ |
H A D | macho_util.c | 630 uint32_t sizeofcmds; local 670 sizeofcmds = CondSwapInt32(swap, mach_header->sizeofcmds); 671 cmds_end = (char *)load_commands + sizeofcmds; 1108 mach_hdr->sizeofcmds -= cmdsize; 1111 mach_hdr64->sizeofcmds -= cmdsize; 1280 mach_hdr->sizeofcmds -= cmdsize; 1283 mach_hdr64->sizeofcmds -= cmdsize;
|
/macosx-10.10/emacs-93/emacs/src/ |
H A D | unexnext.c | 361 if (lseek(infd, the_header.sizeofcmds + sizeof(the_header), 367 the_header.sizeofcmds);
|
H A D | unexmacosx.c | 754 printf ("SizeOfCmds = %d\n", mh.sizeofcmds); 1270 mh.sizeofcmds = curr_header_offset - sizeof (struct mach_header);
|
/macosx-10.10/dtrace-147/tools/ctfconvert/ |
H A D | output.c | 986 cmdlength = mh->sizeofcmds; // where to write CTF seg/sect 987 dataoffset = sizeof(*mh) + mh->sizeofcmds; // where all real data starts 991 mh->sizeofcmds += ctfhdrsz; 1151 cmdlength = mh->sizeofcmds; // where to write CTF seg/sect 1152 dataoffset = sizeof(*mh) + mh->sizeofcmds; // where all real data starts 1156 mh->sizeofcmds += ctfhdrsz;
|
/macosx-10.10/objc4-646/ |
H A D | markgc.c | 319 mh->sizeofcmds = OSSwapInt32(mh->sizeofcmds);
|
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 60 uint32_t sizeofcmds; /* the size of all the load commands */ member in struct:mach_header 78 uint32_t sizeofcmds; /* the size of all the load commands */ member in struct:mach_header_64 212 * of the commands is given by the sizeofcmds field in the mach_header. All
|
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/ |
H A D | macho++.h | 101 size_t commandLength() const { return flip(mHeader->sizeofcmds); }
|
H A D | macho++.cpp | 152 mEndCommands = LowLevelMemoryUtilities::increment<load_command>(commands, flip(mHeader->sizeofcmds)); 165 return flip(mHeader->sizeofcmds);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | macho++.h | 101 size_t commandLength() const { return flip(mHeader->sizeofcmds); }
|
H A D | macho++.cpp | 152 mEndCommands = LowLevelMemoryUtilities::increment<load_command>(commands, flip(mHeader->sizeofcmds)); 165 return flip(mHeader->sizeofcmds);
|
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/ |
H A D | mach-o.h | 183 unsigned long sizeofcmds; member in struct:bfd_mach_o_header
|
H A D | mach-o.c | 301 bfd_h_put_32 (abfd, header->sizeofcmds, buf + 20); 624 header->sizeofcmds = (*get32) (buf + 20); 1554 mdata->header.sizeofcmds = 0;
|
/macosx-10.10/xnu-2782.1.97/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 745 hdr.sizeofcmds = sizeof(segcmd) + sizeof(symcmd) + sizeof(uuidcmd); 747 symsoffset = mach_vm_round_page(hdr.sizeofcmds); 785 hdr.sizeofcmds = sizeof(segcmd) + sizeof(symcmd) + sizeof(uuidcmd); 787 symsoffset = mach_vm_round_page(hdr.sizeofcmds);
|
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/ |
H A D | MachO.h | 292 uint32_t sizeofcmds; member in struct:llvm::MachO::mach_header 302 uint32_t sizeofcmds; member in struct:llvm::MachO::mach_header_64
|
/macosx-10.10/dyld-353.2.1/launch-cache/ |
H A D | dsc_iterator.cpp | 77 if ( (machHeader+ mh->sizeofcmds()) > cacheEnd )
|
H A D | MachOFileAbstraction.hpp | 785 uint32_t sizeofcmds() const INLINE { return E::get32(header.fields.sizeofcmds); } 786 void set_sizeofcmds(uint32_t value) INLINE { E::set32(header.fields.sizeofcmds, value); }
|
/macosx-10.10/dyld-353.2.1/src/ |
H A D | dyldAPIsInLibSystem.cpp | 437 const load_command* const cmdsEnd = (load_command*)((char*)startCmds + mh->sizeofcmds); 569 const load_command* const cmdsEnd = (load_command*)((char*)startCmds + mh->sizeofcmds);
|
H A D | ImageLoaderMachO.cpp | 138 const struct load_command* const endCmds = (struct load_command*)(((uint8_t*)mh) + sizeof(macho_header) + mh->sizeofcmds); 148 dyld::throwf("malformed mach-o image: load command #%d length (%u) would exceed sizeofcmds (%u) in %s", 149 i, cmdLength, mh->sizeofcmds, path); 162 if ( context.codeSigningEnforced && (segCmd->fileoff < mh->sizeofcmds) && (segCmd->filesize != 0) ) { 163 if ( (segCmd->fileoff != 0) || (segCmd->filesize < (mh->sizeofcmds+sizeof(macho_header))) ) 258 const unsigned int dataSize = sizeof(macho_header) + ((macho_header*)firstPage)->sizeofcmds;
|
/macosx-10.10/dtrace-147/libelf/ |
H A D | begin.c | 61 SWAP32(header->sizeofcmds); 73 SWAP32(header->sizeofcmds);
|
/macosx-10.10/emacs-93/ |
H A D | unexmacosx.c | 754 printf ("SizeOfCmds = %d\n", mh.sizeofcmds); 1270 mh.sizeofcmds = curr_header_offset - sizeof (struct mach_header);
|