Home
last modified time | relevance | path

Searched refs:sizeofcmds (Results 1 – 12 of 12) sorted by relevance

/xnu-8020.121.3/osfmk/kdp/
H A Dprocessor_core.c298 uint32_t sizeofcmds = 0, numcmds = 0; in coredump_save_summary() local
323 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command_64) + in coredump_save_summary()
326 core_context->core_header_size = sizeofcmds + sizeof(struct mach_header_64); in coredump_save_summary()
330 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command) + in coredump_save_summary()
333 core_context->core_header_size = sizeofcmds + sizeof(struct mach_header); in coredump_save_summary()
369 core_header.sizeofcmds = sizeofcmds; in coredump_save_summary()
391 core_header.sizeofcmds = sizeofcmds; in coredump_save_summary()
/xnu-8020.121.3/bsd/kern/
H A Dkern_core.c405 mh64->sizeofcmds = (uint32_t)command_size; in coredump()
413 mh->sizeofcmds = (uint32_t)command_size; in coredump()
563 mh64->sizeofcmds -= segment_count * segment_command_sz; in coredump()
566 mh->sizeofcmds -= segment_count * segment_command_sz; in coredump()
H A Dchunklist.c301 if (mh->magic != MH_MAGIC_64 || (mh->sizeofcmds > bufsz - sizeof(kernel_mach_header_t))) { in getuuidfromheader_safe()
H A Dmach_loader.c886 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in parse_machfile()
1550 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in check_if_simulator_binary()
/xnu-8020.121.3/SETUP/kextsymboltool/
H A Dkextsymboltool.c742 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()
/xnu-8020.121.3/tools/lldbmacros/
H A Dmacho.py160 if read_bytes != header.sizeofcmds:
163 % (read_bytes, header.sizeofcmds)
/xnu-8020.121.3/EXTERNAL_HEADERS/mach-o/
H A Dloader.h60 uint32_t sizeofcmds; /* the size of all the load commands */ member
78 uint32_t sizeofcmds; /* the size of all the load commands */ member
/xnu-8020.121.3/tools/kt-dump/
H A Dkt-dump.cpp159 for (uint32_t cmds_offset = sizeof(*hdr); cmds_offset < hdr->sizeofcmds;) { in main()
/xnu-8020.121.3/osfmk/mach/
H A Ddyld_kernel_fixups.h233 …struct load_command* const cmdsEnd = (struct load_command*)((uintptr_t)startCmds + mh->sizeofcmds); in kernel_collection_slide()
/xnu-8020.121.3/libkern/kxld/
H A Dkxld_object.c2134 mach->sizeofcmds = (uint32_t) (header_size - sizeof(*mach));
2169 mach->sizeofcmds = (uint32_t) (header_size - sizeof(*mach));
/xnu-8020.121.3/osfmk/kern/
H A Dkalloc.c1062 kext_text_sz = kext_mh->sizeofcmds; in kalloc_type_view_parse()
/xnu-8020.121.3/libkern/c++/
H A DOSKext.cpp10907 (u_int) (sizeof(*kext_mach_hdr) + kext_mach_hdr->sizeofcmds));
12599 if (base_mh->sizeofcmds > mach_header_map_size) {
12601 load_command_map_size = base_mh->sizeofcmds - mach_header_map_size;