Searched refs:symtab_hdr (Results 1 – 2 of 2) sorted by relevance
| /xnu-10063.141.1/libkern/kxld/ |
| H A D | kxld_util.c | 296 struct symtab_command *symtab_hdr = NULL; in validate_and_swap_macho_32() local 418 symtab_hdr = (struct symtab_command *) load_hdr; in validate_and_swap_macho_32() 421 swap_symtab_command(symtab_hdr, host_order); in validate_and_swap_macho_32() 427 symtab_hdr->symoff + symtab_hdr->nsyms * sizeof(*symtab), finish, in validate_and_swap_macho_32() 432 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_32() 438 symtab = (struct nlist *) ((void *) (file + symtab_hdr->symoff)); in validate_and_swap_macho_32() 440 swap_nlist(symtab, symtab_hdr->nsyms, host_order); in validate_and_swap_macho_32() 477 struct symtab_command *symtab_hdr = NULL; in validate_and_swap_macho_64() local 598 symtab_hdr = (struct symtab_command *) load_hdr; in validate_and_swap_macho_64() 601 swap_symtab_command(symtab_hdr, host_order); in validate_and_swap_macho_64() [all …]
|
| H A D | kxld_object.c | 582 struct symtab_command *symtab_hdr = NULL; in init_from_final_linked_image() local 713 symtab_hdr = (struct symtab_command *) cmd_hdr; in init_from_final_linked_image() 805 *symtab_hdr_out = symtab_hdr; in init_from_final_linked_image() 819 struct symtab_command *symtab_hdr = NULL; in init_from_execute() local 840 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr); in init_from_execute() 859 object->symtab, symtab_hdr, my_file, kernel_linkedit_seg); in init_from_execute() 908 struct symtab_command *symtab_hdr = NULL; in init_from_bundle() local 925 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr); in init_from_bundle() 933 object->symtab, symtab_hdr, my_file, in init_from_bundle() 959 struct symtab_command *symtab_hdr = NULL; in init_from_object() local [all …]
|