Searched refs:stroff (Results 1 – 11 of 11) sorted by relevance
| /xnu-8019.80.24/libkern/kxld/ |
| H A D | kxld_sym.c | 858 u_long *stroff, u_long strsize) in kxld_sym_export_macho_32() argument 868 check(stroff); in kxld_sym_export_macho_32() 871 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_32() 877 nl->n_un.n_strx = (uint32_t) *stroff; in kxld_sym_export_macho_32() 883 str = (char *) (strtab + *stroff); in kxld_sym_export_macho_32() 884 strlcpy(str, sym->name, strsize - *stroff); in kxld_sym_export_macho_32() 886 *stroff += bytes; in kxld_sym_export_macho_32() 899 u_long *stroff, u_long strsize) in kxld_sym_export_macho_64() argument 909 check(stroff); in kxld_sym_export_macho_64() 912 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_64() [all …]
|
| H A D | kxld_symtab.c | 150 src->stroff - kernel_linkedit_seg->fileoff; in init_macho() 154 symtab->strings = (char *) (macho + src->stroff); in init_macho() 443 u_long stroff = 1; /* strtab start padding */ in kxld_symtab_export_macho() local 480 symtabhdr->stroff = (uint32_t) (symtabhdr->symoff + in kxld_symtab_export_macho() 482 require_action(symtabhdr->stroff + symtabhdr->strsize <= data_size, finish, in kxld_symtab_export_macho() 487 strtab = (char *) (buf + symtabhdr->stroff); in kxld_symtab_export_macho() 495 sym, nl, strtab, &stroff, symtabhdr->strsize); in kxld_symtab_export_macho() 499 stroff += rval; in kxld_symtab_export_macho() 503 *data_offset += (symtabhdr->nsyms * nlistsize) + stroff; in kxld_symtab_export_macho() 525 symtabhdr->stroff, in kxld_symtab_export_macho()
|
| H A D | kxld_sym.h | 230 char *strtab, u_long *stroff, u_long strsize) 236 char *strtab, u_long *stroff, u_long strsize)
|
| H A D | kxld_util.c | 449 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_32() 629 require_action(size >= symtab_hdr->stroff + symtab_hdr->strsize, finish, in validate_and_swap_macho_64()
|
| /xnu-8019.80.24/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 759 symcmd.stroff = result_count * sizeof(struct nlist_64) in main() 797 symcmd.stroff = result_count * sizeof(struct nlist) in main()
|
| /xnu-8019.80.24/EXTERNAL_HEADERS/mach-o/ |
| H A D | loader.h | 873 uint32_t stroff; /* string table offset */ member
|
| /xnu-8019.80.24/san/memory/ |
| H A D | kasan_dynamic_blacklist.c | 307 strings = (const void *)((le->vmaddr - le->fileoff) + st->stroff); in addr_to_func()
|
| /xnu-8019.80.24/bsd/dev/dtrace/ |
| H A D | fbt.c | 449 strings = (const char *)(linkedit->vmaddr + symtab->stroff - linkedit->fileoff); in fbt_provide_module_kernel_syms()
|
| H A D | sdt.c | 510 *strings = (char *)(orig_le->vmaddr + orig_st->stroff - orig_le->fileoff); in sdt_find_symbol_table()
|
| /xnu-8019.80.24/osfmk/i386/AT386/ |
| H A D | model_dep.c | 1118 strings = (char *)(uintptr_t)(orig_le->vmaddr + orig_st->stroff - orig_le->fileoff); in panic_print_macho_symbol_name()
|
| /xnu-8019.80.24/libkern/c++/ |
| H A D | OSKext.cpp | 6198 if (dysymtab->locreloff < symtab->stroff) { in slidePrelinkedExecutable() 6199 symtab->stroff -= reloc_size; in slidePrelinkedExecutable()
|