Home
last modified time | relevance | path

Searched refs:stroff (Results 1 – 11 of 11) sorted by relevance

/xnu-8019.80.24/libkern/kxld/
H A Dkxld_sym.c858 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 Dkxld_symtab.c150 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 Dkxld_sym.h230 char *strtab, u_long *stroff, u_long strsize)
236 char *strtab, u_long *stroff, u_long strsize)
H A Dkxld_util.c449 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 Dkextsymboltool.c759 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 Dloader.h873 uint32_t stroff; /* string table offset */ member
/xnu-8019.80.24/san/memory/
H A Dkasan_dynamic_blacklist.c307 strings = (const void *)((le->vmaddr - le->fileoff) + st->stroff); in addr_to_func()
/xnu-8019.80.24/bsd/dev/dtrace/
H A Dfbt.c449 strings = (const char *)(linkedit->vmaddr + symtab->stroff - linkedit->fileoff); in fbt_provide_module_kernel_syms()
H A Dsdt.c510 *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 Dmodel_dep.c1118 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 DOSKext.cpp6198 if (dysymtab->locreloff < symtab->stroff) { in slidePrelinkedExecutable()
6199 symtab->stroff -= reloc_size; in slidePrelinkedExecutable()