/macosx-10.9.5/CF-855.17/ |
H A D | CFBundle.c | 2052 uint32_t sizeofcmds = _CFBundleSwapInt32Conditional(((struct mach_header_64 *)loc)->sizeofcmds, swapped); local 2054 const char *endofcmds = startofcmds + sizeofcmds; 2067 uint32_t sizeofcmds = _CFBundleSwapInt32Conditional(((struct mach_header *)loc)->sizeofcmds, swapped); local 2069 const char *endofcmds = startofcmds + sizeofcmds; 2104 uint32_t sizeofcmds = _CFBundleSwapInt32Conditional(((struct mach_header_64 *)(loc + offset))->sizeofcmds, swapped); local 2106 const char *endofcmds = startofcmds + sizeofcmds; 2130 uint32_t sizeofcmds local 2175 uint32_t sizeofcmds = _CFBundleSwapInt32Conditional(((struct mach_header_64 *)loc)->sizeofcmds, swapped); local 2199 uint32_t sizeofcmds = _CFBundleSwapInt32Conditional(((struct mach_header *)loc)->sizeofcmds, swapped); local [all...] |
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/ |
H A D | macho_util.c | 620 uint32_t sizeofcmds; local 660 sizeofcmds = CondSwapInt32(swap, mach_header->sizeofcmds); 661 cmds_end = (char *)load_commands + sizeofcmds; 1098 mach_hdr->sizeofcmds -= cmdsize; 1101 mach_hdr64->sizeofcmds -= cmdsize; 1270 mach_hdr->sizeofcmds -= cmdsize; 1273 mach_hdr64->sizeofcmds -= cmdsize;
|
/macosx-10.9.5/Libc-997.90.3/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.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | macho++.cpp | 152 mEndCommands = LowLevelMemoryUtilities::increment<load_command>(commands, flip(mHeader->sizeofcmds)); 165 return flip(mHeader->sizeofcmds);
|
H A D | macho++.h | 101 size_t commandLength() const { return flip(mHeader->sizeofcmds); }
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | macho++.cpp | 152 mEndCommands = LowLevelMemoryUtilities::increment<load_command>(commands, flip(mHeader->sizeofcmds)); 165 return flip(mHeader->sizeofcmds);
|
H A D | macho++.h | 101 size_t commandLength() const { return flip(mHeader->sizeofcmds); }
|
/macosx-10.9.5/cctools-845/as/ |
H A D | write_object.c | 221 header.sizeofcmds = 0; 224 header.sizeofcmds += sizeof(segment_command_t) + 229 header.sizeofcmds += sizeof(struct symtab_command); 232 header.sizeofcmds += sizeof(struct dysymtab_command); 253 offset = header.sizeofcmds + sizeof(mach_header_t);
|
/macosx-10.9.5/cctools-845/include/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.9.5/cctools-845/ld/ |
H A D | dylibs.c | 335 unsigned long cmdsize, sizeofcmds; local 340 sizeofcmds = 0; 373 sizeofcmds += cmdsize; 376 return(sizeofcmds); 392 unsigned long cmdsize, sizeofcmds; local 397 sizeofcmds = 0; 430 sizeofcmds += cmdsize; 433 return(sizeofcmds); 449 unsigned long cmdsize, sizeofcmds; local 452 sizeofcmds [all...] |
H A D | layout.c | 448 output_mach_header.sizeofcmds = 455 offset = sizeof(struct mach_header) + output_mach_header.sizeofcmds; 495 unsigned long i, ncmds, sizeofcmds, headers_size, offset; local 973 sizeofcmds = 0; 985 sizeofcmds += msg->sg.cmdsize; 999 sizeofcmds += mfl->fl->cmdsize; 1021 sizeofcmds += merged_sub_framework->sub->cmdsize; 1025 sizeofcmds += create_sub_umbrella_commands(); 1029 sizeofcmds += create_sub_library_commands(); 1033 sizeofcmds [all...] |
H A D | pass1.c | 4455 if(mh->sizeofcmds + sizeof(struct mach_header) > cur_obj->obj_size){ 4527 (char *)load_commands + mh->sizeofcmds){ 5616 (char *)load_commands + mh->sizeofcmds){
|
H A D | pass2.c | 501 offset = sizeof(struct mach_header) + output_mach_header.sizeofcmds; 1276 output_mach_header.sizeofcmds);
|
/macosx-10.9.5/cctools-845/libmacho/ |
H A D | swap.c | 65 mh->sizeofcmds = OSSwapInt32(mh->sizeofcmds); 79 mh->sizeofcmds = OSSwapInt32(mh->sizeofcmds);
|
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | breakout.c | 393 arch->object->mh->sizeofcmds; 402 arch->object->mh64->sizeofcmds;
|
H A D | bytesex.c | 336 mh->sizeofcmds = SWAP_INT(mh->sizeofcmds); 355 mh->sizeofcmds = SWAP_INT(mh->sizeofcmds);
|
H A D | ofile.c | 3338 uint32_t size, i, j, ncmds, sizeofcmds, load_command_multiple, sizeofhdrs; 3401 big_size = mh->sizeofcmds; 3413 sizeofcmds = mh->sizeofcmds; 3424 big_size = mh64->sizeofcmds; 3436 sizeofcmds = mh64->sizeofcmds; 3501 if(big_load_end > sizeofcmds){ 5864 if((char *)lc > (char *)load_commands + sizeofcmds){ 5954 if((char *)load_commands + sizeofcmds ! [all...] |
H A D | swap_headers.c | 61 uint32_t magic, ncmds, sizeofcmds, cmd_multiple; local 107 sizeofcmds = mh->sizeofcmds; 116 sizeofcmds = mh64->sizeofcmds; 136 (char *)load_commands + sizeofcmds){ 972 (char *)load_commands + sizeofcmds){ 983 (char *)load_commands + sizeofcmds){ 995 (char *)load_commands + sizeofcmds){ 1187 if((char *)lc > (char *)load_commands + sizeofcmds){ [all...] |
/macosx-10.9.5/cctools-845/misc/ |
H A D | codesign_allocate.c | 646 uint32_t ncmds, sizeofcmds, sizeof_mach_header; local 656 sizeofcmds = arch->object->mh->sizeofcmds; 661 sizeofcmds = arch->object->mh64->sizeofcmds; 716 if(sizeofcmds + sizeof(struct linkedit_data_command) + 727 ((char *)arch->object->load_commands + sizeofcmds); 735 arch->object->mh->sizeofcmds = sizeofcmds + 740 arch->object->mh64->sizeofcmds [all...] |
H A D | ctf_insert.c | 457 uint32_t ncmds, sizeofcmds; local 470 sizeofcmds = arch->object->mh->sizeofcmds; 477 sizeofcmds = arch->object->mh64->sizeofcmds; 543 if(sizeofcmds + mach_header_size + added_header_size > low_fileoff) 546 printf("space available = %d\n", low_fileoff - (sizeofcmds + mach_header_size)); 558 ((char *)arch->object->load_commands + sizeofcmds); 586 arch->object->mh->sizeofcmds = sizeofcmds [all...] |
H A D | indr.c | 1603 mh->sizeofcmds = sizeof(struct symtab_command);
|
H A D | install_name_tool.c | 435 archs[i].object->mh->sizeofcmds; 439 archs[i].object->mh64->sizeofcmds; 453 memcpy(lc, archs[i].object->load_commands, mh->sizeofcmds); 463 memcpy(lc, archs[i].object->load_commands, mh64->sizeofcmds); 660 new_sizeofcmds = arch->object->mh->sizeofcmds; 668 new_sizeofcmds = arch->object->mh64->sizeofcmds; 994 arch->object->mh->sizeofcmds; 995 if(new_sizeofcmds < arch->object->mh->sizeofcmds){ 997 '\0', arch->object->mh->sizeofcmds - new_sizeofcmds); 1001 arch->object->mh->sizeofcmds [all...] |
H A D | lipo.c | 1560 if(mhp->sizeofcmds + sizeof(struct mach_header) > size) 1575 (char *)load_commands + mhp->sizeofcmds) 1647 if(mhp64->sizeofcmds + sizeof(struct mach_header_64) > size) 1662 (char *)load_commands + mhp64->sizeofcmds)
|
H A D | pagestuff.c | 518 mp->size = sizeof(struct mach_header) + ofile.mh->sizeofcmds; 525 mp->size = sizeof(struct mach_header_64) + ofile.mh64->sizeofcmds;
|
H A D | redo_prebinding.c | 8189 arch->object->mh->sizeofcmds; 8194 arch->object->mh64->sizeofcmds; 8764 uint32_t i, j, k, nmodules, size, sizeofcmds, ncmds, low_fileoff; local 8798 sizeofcmds = 0; 8899 sizeofcmds += lc1->cmdsize; 9041 sizeofcmds += libs[i].LC_PREBOUND_DYLIB_size; 9050 mh_sizeofcmds = arch->object->mh->sizeofcmds; 9052 mh_sizeofcmds = arch->object->mh64->sizeofcmds; 9087 sizeofcmds += libs[i].LC_PREBOUND_DYLIB_size; 9099 if(sizeofcmds > mh_sizeofcmd [all...] |