Searched refs:sect_offset (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/libkern/kxld/ |
| H A D | kxld_sect.h | 75 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator) 84 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator)
|
| H A D | kxld_sect.c | 58 kxld_sect_init_from_macho_32(KXLDSect *sect, u_char *macho, u_long *sect_offset, in kxld_sect_init_from_macho_32() argument 62 struct section *src = (struct section *) ((void *) (macho + *sect_offset)); in kxld_sect_init_from_macho_32() 92 *sect_offset += sizeof(*src); in kxld_sect_init_from_macho_32() 108 kxld_sect_init_from_macho_64(KXLDSect *sect, u_char *macho, u_long *sect_offset, in kxld_sect_init_from_macho_64() argument 112 struct section_64 *src = (struct section_64 *) ((void *) (macho + *sect_offset)); in kxld_sect_init_from_macho_64() 142 *sect_offset += sizeof(*src); in kxld_sect_init_from_macho_64()
|
| H A D | kxld_seg.c | 186 u_long sect_offset = 0; in kxld_seg_finalize_object_segment() local 206 sect_offset = (u_long) seg->link_addr; in kxld_seg_finalize_object_segment() 210 sect->link_addr = kxld_sect_align_address(sect, sect_offset); in kxld_seg_finalize_object_segment() 211 sect_offset = (u_long) (sect->link_addr + sect->size); in kxld_seg_finalize_object_segment() 216 seg->vmsize = kxld_round_page_cross_safe(sect_offset) - seg->link_addr; in kxld_seg_finalize_object_segment()
|
| H A D | kxld_object.c | 589 u_long sect_offset = 0; in init_from_final_linked_image() local 688 sect_offset = offset + sizeof(*seg_hdr); in init_from_final_linked_image() 708 sect_offset = offset + sizeof(*seg_hdr); in init_from_final_linked_image() 787 sect, my_file, §_offset, secti, &object->relocator); in init_from_final_linked_image() 963 u_long sect_offset = 0; in init_from_object() local 1025 sect_offset = offset + sizeof(*seg_hdr); in init_from_object() 1055 sect_offset = offset + sizeof(*seg_hdr); in init_from_object() 1121 sect, my_file, §_offset, i, &object->relocator); in init_from_object()
|
| /xnu-11215/libkern/c++/ |
| H A D | OSKext.cpp | 270 uint32_t sect_offset; member 12163 header->sections[OS_LOG_SECT_IDX].sect_offset = os_log_offset; 12165 header->sections[CSTRING_SECT_IDX].sect_offset = cstring_offset; 12167 header->sections[ASAN_CSTRING_SECT_IDX].sect_offset = asan_cstring_offset; 12228 header->sections[OS_LOG_SECT_IDX].sect_offset = 0; 12230 header->sections[CSTRING_SECT_IDX].sect_offset = 0; 12232 header->sections[ASAN_CSTRING_SECT_IDX].sect_offset = 0;
|