Searched refs:sizeofcmds (Results 1 – 11 of 11) sorted by relevance
400 uint32_t sizeofcmds = 0, numcmds = 0; in coredump_save_summary() local425 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command_64) + in coredump_save_summary()428 core_context->core_header_size = sizeofcmds + sizeof(struct mach_header_64); in coredump_save_summary()432 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command) + in coredump_save_summary()435 core_context->core_header_size = sizeofcmds + sizeof(struct mach_header); in coredump_save_summary()471 core_header.sizeofcmds = sizeofcmds; in coredump_save_summary()493 core_header.sizeofcmds = sizeofcmds; in coredump_save_summary()
551 mh64->sizeofcmds = (uint32_t)command_size; in coredump()559 mh->sizeofcmds = (uint32_t)command_size; in coredump()719 mh64->sizeofcmds -= segment_count * segment_command_sz; in coredump()722 mh->sizeofcmds -= segment_count * segment_command_sz; in coredump()
301 if (mh->magic != MH_MAGIC_64 || (mh->sizeofcmds > bufsz - sizeof(kernel_mach_header_t))) { in getuuidfromheader_safe()
899 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in parse_machfile()1594 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in check_if_simulator_binary()
742 hdr.sizeofcmds = sizeof(segcmd) + sizeof(symcmd) + sizeof(uuidcmd); in main()744 symsoffset = mach_vm_round_page(hdr.sizeofcmds); in main()780 hdr.sizeofcmds = sizeof(segcmd) + sizeof(symcmd) + sizeof(uuidcmd); in main()782 symsoffset = mach_vm_round_page(hdr.sizeofcmds); in main()
160 if read_bytes != header.sizeofcmds:163 % (read_bytes, header.sizeofcmds)
60 uint32_t sizeofcmds; /* the size of all the load commands */ member78 uint32_t sizeofcmds; /* the size of all the load commands */ member
233 …struct load_command* const cmdsEnd = (struct load_command*)((uintptr_t)startCmds + mh->sizeofcmds); in kernel_collection_slide()
2139 mach->sizeofcmds = (uint32_t) (header_size - sizeof(*mach));2174 mach->sizeofcmds = (uint32_t) (header_size - sizeof(*mach));
1097 kext_text_sz = kext_mh->sizeofcmds; in kalloc_type_view_parse()
11911 (u_int) (sizeof(*kext_mach_hdr) + kext_mach_hdr->sizeofcmds));13687 if (base_mh->sizeofcmds > mach_header_map_size) {13689 load_command_map_size = base_mh->sizeofcmds - mach_header_map_size;