Home
last modified time | relevance | path

Searched refs:nsects (Results 1 – 13 of 13) sorted by relevance

/xnu-10063.141.1/SETUP/setsegname/
H A Dsetsegname.c133 uint32_t nsects = 0; in main() local
208 nsects = 0; in main()
215 nsects = segcmd->nsects; in main()
225 nsects = segcmd->nsects; in main()
233 nsects = OSSwapInt32(nsects); in main()
235 while (nsects--) { in main()
/xnu-10063.141.1/libkern/kxld/
H A Dkxld_seg.c96 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects); in kxld_seg_init_from_macho_32()
126 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects); in kxld_seg_init_from_macho_64()
279 u_int nsects = 0; in reorder_sections() local
329 nsects = sect_end - sect_start; in reorder_sections()
331 if (!nsects) { in reorder_sections()
352 for (j = 0; j < nsects; ++j) { in reorder_sections()
377 for (i = 0; i < nsects; ++i) { in reorder_sections()
670 seghdr->nsects = seg->sects.nitems; in seg_export_macho_header_32()
741 seghdr->nsects = seg->sects.nitems; in seg_export_macho_header_64()
H A Dkxld_util.c374 swap_section(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_32()
388 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_32()
554 swap_section_64(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_64()
568 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_64()
700 swap_section(sects, seg_hdr->nsects, target_order); in unswap_macho_32()
758 swap_section_64(sects, seg_hdr->nsects, target_order); in unswap_macho_64()
H A Dkxld_object.c596 u_int nsects = 0; in init_from_final_linked_image() local
629 nsects += seg_hdr->nsects; in init_from_final_linked_image()
645 nsects += seg_hdr->nsects; in init_from_final_linked_image()
660 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects); in init_from_final_linked_image()
966 u_int nsects = 0; in init_from_object() local
1024 nsects = seg_hdr->nsects; in init_from_object()
1054 nsects = seg_hdr->nsects; in init_from_object()
1111 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects); in init_from_object()
1116 for (i = 0; i < nsects; ++i) { in init_from_object()
1469 u_int nsects = object->sects.nitems; in add_section() local
[all …]
/xnu-10063.141.1/libkern/
H A Dkernel_mach_header.c218 for (j = 0; j < sgp->nsects; j++) { in getsectbynamefromseg()
383 if (!sgp || sgp->nsects == 0) { in firstsect()
401 if (((uintptr_t)(sp - fsp) + 1) >= sgp->nsects) { in nextsect()
/xnu-10063.141.1/tools/lldbmacros/
H A Dmacho.py112 + (sizeof(section_cls) * cmd_cmd.nsects)
118 if cmd_cmd.nsects == 0:
123 for _j in range(cmd_cmd.nsects):
/xnu-10063.141.1/EXTERNAL_HEADERS/mach-o/
H A Dloader.h365 uint32_t nsects; /* number of sections in segment */ member
385 uint32_t nsects; /* number of sections in segment */ member
/xnu-10063.141.1/osfmk/mach/
H A Ddyld_kernel_fixups.h359 for (j = 0; j < seg->nsects; j++, sec++) { in kernel_collection_adjust_fileset_entry_addrs()
448 for (j = 0; j < seg->nsects; j++, sec++) { in kernel_collection_adjust_mh_addrs()
/xnu-10063.141.1/bsd/kern/
H A Dkern_core.c687 sc64->nsects = 0; in coredump()
701 sc->nsects = 0; in coredump()
H A Dmach_loader.c325 scp->nsects = scp32->nsects; in widen_segment_command()
345 for (i = 0; i < scp->nsects; ++i) { in note_all_image_info_section()
2163 if (total_section_size / single_section_size < scp->nsects) { in load_segment()
2164 …UG4K_ERROR("LOAD_BADMACHO 0x%zx 0x%zx %d\n", total_section_size, single_section_size, scp->nsects); in load_segment()
/xnu-10063.141.1/SETUP/kextsymboltool/
H A Dkextsymboltool.c755 segcmd.nsects = 0; in main()
793 segcmd.nsects = 0; in main()
/xnu-10063.141.1/tools/kt-dump/
H A Dkt-dump.cpp366 const std::span<section_64> sections((section_64 *)(seg_cmd + 1), seg_cmd->nsects);
/xnu-10063.141.1/libkern/c++/
H A DOSKext.cpp12096 segp->vmsize, segp->nsects);