/darwin-on-arm/xnu/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 213 * load commands must have as their first two fields cmd and cmdsize. The cmd 215 * has a structure specifically for it. The cmdsize field is the size in bytes 218 * advance to the next load command the cmdsize can be added to the offset or 219 * pointer of the current load command. The cmdsize for 32-bit architectures 229 uint32_t cmdsize; /* total size of command in bytes */ member in struct:load_command 303 * of the string is reflected in the cmdsize field of the load command. 304 * Once again any padded bytes to bring the cmdsize field to a multiple 324 * reflected in cmdsize. 328 uint32_t cmdsize; /* includes sizeof section structs */ member in struct:segment_command 344 * command and their size is reflected in cmdsize 348 uint32_t cmdsize; /* includes sizeof section_64 structs */ member in struct:segment_command_64 620 uint32_t cmdsize; /* includes pathname string */ member in struct:fvmlib_command 650 uint32_t cmdsize; /* includes pathname string */ member in struct:dylib_command 666 uint32_t cmdsize; /* includes umbrella string */ member in struct:sub_framework_command 681 uint32_t cmdsize; /* includes client string */ member in struct:sub_client_command 700 uint32_t cmdsize; /* includes sub_umbrella string */ member in struct:sub_umbrella_command 721 uint32_t cmdsize; /* includes sub_library string */ member in struct:sub_library_command 736 uint32_t cmdsize; /* includes strings */ member in struct:prebound_dylib_command 753 uint32_t cmdsize; /* includes pathname string */ member in struct:dylinker_command 780 uint32_t cmdsize; /* total size of this command */ member in struct:thread_command 797 uint32_t cmdsize; /* total size of this command */ member in struct:routines_command 814 uint32_t cmdsize; /* total size of this command */ member in struct:routines_command_64 833 uint32_t cmdsize; /* sizeof(struct symtab_command) */ member in struct:symtab_command 882 uint32_t cmdsize; /* sizeof(struct dysymtab_command) */ member in struct:dysymtab_command 1088 uint32_t cmdsize; /* sizeof(struct twolevel_hints_command) */ member in struct:twolevel_hints_command 1127 uint32_t cmdsize; /* sizeof(struct prebind_cksum_command) */ member in struct:prebind_cksum_command 1137 uint32_t cmdsize; /* sizeof(struct uuid_command) */ member in struct:uuid_command 1147 uint32_t cmdsize; /* includes string */ member in struct:rpath_command 1159 uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */ member in struct:linkedit_data_command 1170 uint32_t cmdsize; /* sizeof(struct encryption_info_command) */ member in struct:encryption_info_command 1184 uint32_t cmdsize; /* sizeof(struct min_version_command) */ member in struct:version_min_command 1199 uint32_t cmdsize; /* sizeof(struct dyld_info_command) */ member in struct:dyld_info_command 1373 uint32_t cmdsize; /* sizeof(struct symseg_command) */ member in struct:symseg_command 1386 uint32_t cmdsize; /* strings that follow this command */ member in struct:ident_command 1397 uint32_t cmdsize; /* includes pathname string */ member in struct:fvmfile_command 1411 uint32_t cmdsize; /* 24 */ member in struct:entry_point_command 1423 uint32_t cmdsize; /* 16 */ member in struct:source_version_command [all...] |
/darwin-on-arm/xnu/libkern/ |
H A D | kernel_mach_header.c | 66 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 86 lcp = (struct load_command *)((uintptr_t)lcp + lcp->cmdsize); 201 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 223 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 247 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 268 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 273 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize); 279 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp->cmdsize);
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_util.c | 283 u_int cmdsize = 0; local 325 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) { 330 cmdsize = load_hdr->cmdsize; 335 cmdsize = OSSwapInt32(load_hdr->cmdsize); 340 require_action(size >= offset + cmdsize, finish, 454 u_int cmdsize = 0; local 496 for(i = 0; i < mach_hdr->ncmds; ++i, offset += cmdsize) { 500 cmdsize [all...] |
H A D | kxld_srcversion.c | 85 srcversionhdr->cmdsize = (uint32_t) sizeof(*srcversionhdr);
|
H A D | kxld_uuid.c | 85 uuidhdr->cmdsize = (uint32_t) sizeof(*uuidhdr);
|
H A D | kxld_versionmin.c | 103 versionminhdr->cmdsize = (uint32_t) sizeof(*versionminhdr);
|
H A D | kxld_seg.c | 645 seghdr->cmdsize = (uint32_t) sizeof(*seghdr); 646 seghdr->cmdsize += 685 seghdr->cmdsize = (uint32_t) sizeof(*seghdr); 686 seghdr->cmdsize +=
|
H A D | kxld_symtab.c | 459 symtabhdr->cmdsize = (uint32_t) sizeof(*symtabhdr);
|
H A D | kxld_object.c | 534 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) { 584 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) { 869 for (; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
|
H A D | kxld_reloc.c | 596 dysymtabhdr->cmdsize = (uint32_t) sizeof(*dysymtabhdr);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_loader.c | 235 scp->cmdsize = scp32->cmdsize; 617 offset += lcp->cmdsize; 628 lcp->cmdsize < sizeof(struct load_command) || 885 if (lcp->cmdsize < segment_command_size) 887 total_section_size = lcp->cmdsize - segment_command_size; 1069 if (epc->cmdsize < sizeof(*epc)) 1127 if (tcp->cmdsize < sizeof(*tcp)) 1140 tcp->cmdsize - sizeof(struct thread_command), 1164 tcp->cmdsize [all...] |
H A D | kern_core.c | 173 tc->cmdsize = sizeof(struct thread_command) 405 sc64->cmdsize = sizeof(struct segment_command_64); 418 sc->cmdsize = sizeof(struct segment_command);
|
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/ |
H A D | kdp_vm.c | 76 tc->cmdsize = sizeof(struct thread_command) + kern_collectth_state_size();
|
H A D | kdp_x86_common.c | 506 sc.cmdsize = sizeof(kernel_segment_command_t);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2.c | 444 copyto32fw_insn( struct ip_fw_32 *fw32 , struct ip_fw *user_ip_fw, int cmdsize) argument 453 end = ((char*)user_ip_fw->cmd) + cmdsize; 478 copyto64fw_insn( struct ip_fw_64 *fw64 , struct ip_fw *user_ip_fw, int cmdsize) argument 487 end = ((char *)user_ip_fw->cmd) + cmdsize; 514 size_t rulesize, cmdsize; local 532 cmdsize = user_ip_fw->cmd_len * sizeof(u_int32_t); 533 copyto32fw_insn( fw32, user_ip_fw, cmdsize ); 539 size_t rulesize, cmdsize; local 558 cmdsize = copysize - sizeof(struct ip_fw_64) + 4; 560 cmdsize 565 copyfrom32fw_insn( struct ip_fw_32 *fw32 , struct ip_fw *user_ip_fw, int cmdsize) argument 602 copyfrom64fw_insn( struct ip_fw_64 *fw64 , struct ip_fw *user_ip_fw, int cmdsize) argument 640 size_t rulesize, cmdsize; local 669 size_t rulesize, cmdsize; local [all...] |
/darwin-on-arm/xnu/SETUP/setsegname/ |
H A D | setsegname.c | 231 len = cmds->cmdsize;
|
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/ |
H A D | kdp_vm.c | 76 tc->cmdsize = (uint32_t)(sizeof(struct thread_command) + kern_collectth_state_size());
|
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/ |
H A D | kdp_arm_common.c | 139 sc.cmdsize = sizeof(kernel_segment_command_t);
|
H A D | kdp_vm.c | 78 tc->cmdsize = sizeof(struct thread_command) + kern_collectth_state_size();
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | model_dep.c | 194 cmd = (struct load_command *) ((uintptr_t) cmd + cmd->cmdsize);
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 711 symcmd.cmdsize = sizeof(symcmd); 717 uuidcmd.cmdsize = sizeof(uuidcmd);
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | sdt.c | 562 cmd = (struct load_command *) ((uintptr_t) cmd + cmd->cmdsize);
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | i386_vm_init.c | 237 loadcmd = (struct load_command *)((uintptr_t)loadcmd + loadcmd->cmdsize);
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | fbt_x86.c | 968 cmd = (struct load_command *) ((caddr_t) cmd + cmd->cmdsize); 1486 cmd = (struct load_command *) ((caddr_t) cmd + cmd->cmdsize);
|
/darwin-on-arm/xnu/osfmk/i386/AT386/ |
H A D | model_dep.c | 957 cmd = (struct load_command *) ((uintptr_t) cmd + cmd->cmdsize);
|