Searched refs:nsects (Results 1 – 13 of 13) sorted by relevance
| /xnu-12377.1.9/SETUP/setsegname/ |
| H A D | setsegname.c | 133 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-12377.1.9/libkern/kxld/ |
| H A D | kxld_seg.c | 96 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 D | kxld_util.c | 373 swap_section(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_32() 387 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_32() 553 swap_section_64(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_64() 567 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_64() 699 swap_section(sects, seg_hdr->nsects, target_order); in unswap_macho_32() 757 swap_section_64(sects, seg_hdr->nsects, target_order); in unswap_macho_64()
|
| H A D | kxld_object.c | 596 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-12377.1.9/libkern/ |
| H A D | kernel_mach_header.c | 218 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-12377.1.9/tools/lldbmacros/ |
| H A D | macho.py | 112 + (sizeof(section_cls) * cmd_cmd.nsects) 118 if cmd_cmd.nsects == 0: 123 for _j in range(cmd_cmd.nsects):
|
| /xnu-12377.1.9/EXTERNAL_HEADERS/mach-o/ |
| H A D | loader.h | 365 uint32_t nsects; /* number of sections in segment */ member 385 uint32_t nsects; /* number of sections in segment */ member
|
| /xnu-12377.1.9/osfmk/mach/ |
| H A D | dyld_kernel_fixups.h | 359 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-12377.1.9/bsd/kern/ |
| H A D | kern_core.c | 728 sc64->nsects = 0; in coredump() 742 sc->nsects = 0; in coredump()
|
| H A D | mach_loader.c | 527 scp->nsects = scp32->nsects; in widen_segment_command() 547 for (i = 0; i < scp->nsects; ++i) { in note_all_image_info_section() 2299 if (total_section_size / single_section_size < scp->nsects) { in load_segment() 2300 …UG4K_ERROR("LOAD_BADMACHO 0x%zx 0x%zx %d\n", total_section_size, single_section_size, scp->nsects); in load_segment()
|
| /xnu-12377.1.9/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 755 segcmd.nsects = 0; in main() 793 segcmd.nsects = 0; in main()
|
| /xnu-12377.1.9/tools/kt-dump/ |
| H A D | kt-dump.cpp | 366 const std::span<section_64> sections((section_64 *)(seg_cmd + 1), seg_cmd->nsects);
|
| /xnu-12377.1.9/libkern/c++/ |
| H A D | OSKext.cpp | 12140 segp->vmsize, segp->nsects);
|