Searched refs:nsects (Results 1 – 13 of 13) sorted by relevance
| /xnu-8020.121.3/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-8020.121.3/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 | 369 swap_section(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_32() 383 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_32() 549 swap_section_64(sects, seg_hdr->nsects, host_order); in validate_and_swap_macho_64() 563 for (j = 0; j < seg_hdr->nsects; ++j) { in validate_and_swap_macho_64() 695 swap_section(sects, seg_hdr->nsects, target_order); in unswap_macho_32() 753 swap_section_64(sects, seg_hdr->nsects, target_order); in unswap_macho_64()
|
| H A D | kxld_object.c | 591 u_int nsects = 0; in init_from_final_linked_image() local 624 nsects += seg_hdr->nsects; in init_from_final_linked_image() 640 nsects += seg_hdr->nsects; in init_from_final_linked_image() 655 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects); in init_from_final_linked_image() 961 u_int nsects = 0; in init_from_object() local 1019 nsects = seg_hdr->nsects; in init_from_object() 1049 nsects = seg_hdr->nsects; in init_from_object() 1106 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects); in init_from_object() 1111 for (i = 0; i < nsects; ++i) { in init_from_object() 1464 u_int nsects = object->sects.nitems; in add_section() local [all …]
|
| /xnu-8020.121.3/libkern/ |
| H A D | kernel_mach_header.c | 205 for (j = 0; j < sgp->nsects; j++) { in getsectbynamefromseg() 370 if (!sgp || sgp->nsects == 0) { in firstsect() 388 if (((uintptr_t)(sp - fsp) + 1) >= sgp->nsects) { in nextsect()
|
| /xnu-8020.121.3/tools/lldbmacros/ |
| H A D | macho.py | 118 + (sizeof(section_cls) * cmd_cmd.nsects) 124 if cmd_cmd.nsects == 0: 129 for _j in range(cmd_cmd.nsects):
|
| /xnu-8020.121.3/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-8020.121.3/bsd/kern/ |
| H A D | kern_core.c | 530 sc64->nsects = 0; in coredump() 544 sc->nsects = 0; in coredump()
|
| H A D | mach_loader.c | 311 scp->nsects = scp32->nsects; in widen_segment_command() 331 for (i = 0; i < scp->nsects; ++i) { in note_all_image_info_section() 2124 if (total_section_size / single_section_size < scp->nsects) { in load_segment() 2125 …UG4K_ERROR("LOAD_BADMACHO 0x%zx 0x%zx %d\n", total_section_size, single_section_size, scp->nsects); in load_segment()
|
| /xnu-8020.121.3/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-8020.121.3/tools/kt-dump/ |
| H A D | kt-dump.cpp | 170 seg_cmd->nsects); in main()
|
| /xnu-8020.121.3/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 755 segcmd.nsects = 0; in main() 793 segcmd.nsects = 0; in main()
|
| /xnu-8020.121.3/libkern/c++/ |
| H A D | OSKext.cpp | 10954 segp->vmsize, segp->nsects);
|