Searched refs:symtab_hdr (Results 1 – 2 of 2) sorted by relevance
| /xnu-8020.121.3/libkern/kxld/ |
| H A D | kxld_util.c | 291 struct symtab_command *symtab_hdr = NULL; in validate_and_swap_macho_32() local 413 symtab_hdr = (struct symtab_command *) load_hdr; in validate_and_swap_macho_32() 416 swap_symtab_command(symtab_hdr, host_order); in validate_and_swap_macho_32() 422 symtab_hdr->symoff + symtab_hdr->nsyms * sizeof(*symtab), finish, in validate_and_swap_macho_32() 427 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_32() 433 symtab = (struct nlist *) ((void *) (file + symtab_hdr->symoff)); in validate_and_swap_macho_32() 435 swap_nlist(symtab, symtab_hdr->nsyms, host_order); in validate_and_swap_macho_32() 472 struct symtab_command *symtab_hdr = NULL; in validate_and_swap_macho_64() local 593 symtab_hdr = (struct symtab_command *) load_hdr; in validate_and_swap_macho_64() 596 swap_symtab_command(symtab_hdr, host_order); in validate_and_swap_macho_64() [all …]
|
| H A D | kxld_object.c | 577 struct symtab_command *symtab_hdr = NULL; in init_from_final_linked_image() local 708 symtab_hdr = (struct symtab_command *) cmd_hdr; in init_from_final_linked_image() 800 *symtab_hdr_out = symtab_hdr; in init_from_final_linked_image() 814 struct symtab_command *symtab_hdr = NULL; in init_from_execute() local 835 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr); in init_from_execute() 854 object->symtab, symtab_hdr, my_file, kernel_linkedit_seg); in init_from_execute() 903 struct symtab_command *symtab_hdr = NULL; in init_from_bundle() local 920 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr); in init_from_bundle() 928 object->symtab, symtab_hdr, my_file, in init_from_bundle() 954 struct symtab_command *symtab_hdr = NULL; in init_from_object() local [all …]
|