Home
last modified time | relevance | path

Searched refs:st_name (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/libexecinfo/
H A Dsymtab.c54 char *st_name; member
79 free(s->symbols[i].st_name); in symtab_destroy()
141 elf_strptr(elf, shdr.sh_link, sym.st_name), in symtab_create()
156 s->st_name = strdup( in symtab_create()
157 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create()
158 if (s->st_name == NULL) in symtab_create()
213 dli->dli_sname = s[mid].st_name; in symtab_find()
/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c51 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
174 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
181 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
204 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
250 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
267 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
290 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
300 obj->strtab + obj->symtab[symnum].st_name); in reloc_nonplt_object()
/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_sym.c83 dst->st_name = sym32->st_name; in gelf_getsym()
145 sym32->st_name = gs->st_name; in gelf_update_sym()
H A Delf_types.m4222 ``st_name, WORD',
231 ``st_name, WORD',
/freebsd/sys/ddb/
H A Ddb_main.c94 if (sym->st_name != 0 && in X_db_lookup()
96 sym->st_name, symbol)) in X_db_lookup()
126 if (sym->st_name == 0 || sym->st_shndx == SHN_UNDEF) in X_db_search_symbol()
183 ((const Elf_Sym *)sym)->st_name; in X_db_symbol_values()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsymbols.c624 sym.st_name = 0; in generate_symbols()
649 sy_buf->g32[ecp->symndx[i]].st_name += in generate_symbols()
652 sy_buf->g64[ecp->symndx[i]].st_name += in generate_symbols()
927 sy_buf->B##SZ[sy_buf->n##B##s].st_name = \ in add_to_symtab()
950 sy_buf->B##SZ[sy_buf->n##B##s].st_name = \ in add_to_symtab()
995 if (sy_buf->g32[i].st_name == (Elf32_Word)-1) in finalize_external_symtab()
996 sy_buf->g32[i].st_name = 0; in finalize_external_symtab()
998 sy_buf->g32[i].st_name += st_buf->l.sz; in finalize_external_symtab()
1000 if (sy_buf->g64[i].st_name == (Elf64_Word)-1) in finalize_external_symtab()
1001 sy_buf->g64[i].st_name = 0; in finalize_external_symtab()
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c103 const char *name = base + sym->st_name; in dt_module_syminit32()
109 if (sym->st_name == 0 || sym->st_name >= ss_size) in dt_module_syminit32()
153 const char *name = base + sym->st_name; in dt_module_syminit64()
159 if (sym->st_name == 0 || sym->st_name >= ss_size) in dt_module_syminit64()
205 return (strcmp(dt_module_strtab + lhs->st_name, in dt_module_symcomp32()
206 dt_module_strtab + rhs->st_name)); in dt_module_symcomp32()
234 return (strcmp(dt_module_strtab + lhs->st_name, in dt_module_symcomp64()
235 dt_module_strtab + rhs->st_name)); in dt_module_symcomp64()
290 dst->st_name = src->st_name; in dt_module_symgelf32()
330 if (strcmp(name, strtab + sym->st_name) == 0) { in dt_module_symname32()
[all …]
H A Ddt_link.c235 sym->st_name = base + dofr[j].dofr_name - 1; in prepare_elf32()
252 sym->st_name = strtabsz; in prepare_elf32()
418 sym->st_name = base + dofr[j].dofr_name - 1; in prepare_elf64()
435 sym->st_name = strtabsz; in prepare_elf64()
1386 s = (char *)data_str->d_buf + rsym.st_name; in process_obj()
1398 if (fsym.st_name > data_str->d_size) { in process_obj()
1403 s = (char *)data_str->d_buf + fsym.st_name; in process_obj()
1536 rsym.st_name > data_str->d_size) in process_obj()
1539 s = (char *)data_str->d_buf + rsym.st_name; in process_obj()
1574 if (fsym.st_name > data_str->d_size) in process_obj()
[all …]
/freebsd/usr.bin/gprof/
H A Delf.c115 npe->name = strtab + sym->st_name; in elf_getnfile()
136 (uflag && strchr(strtab + sym->st_name, '.') != NULL)) in wantsym()
/freebsd/libexec/rtld-elf/
H A Ddebug.c116 obj->strtab + sym->st_name, in dump_Elf_Rel()
138 obj->strtab + sym->st_name, in dump_Elf_Rela()
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/
H A Dsymbol.c43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0) in ignore_symbol()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp319 idx, st_value, st_size, st_name, st_info, in Dump()
322 strtab_data ? strtab_data->PeekCStr(st_name) : ""); in Dump()
331 if (data.GetU32(offset, &st_name, 1) == nullptr) in Parse()
H A DELFHeader.h227 elf_word st_name; ///< Symbol name string index. member
/freebsd/lib/libproc/
H A Dproc_sym.c133 s1 = elf_strptr(thunk->e, thunk->symtab->stridx, sym1.st_name); in symvalcmp()
134 s2 = elf_strptr(thunk->e, thunk->symtab->stridx, sym2.st_name); in symvalcmp()
490 s = elf_strptr(e, symtab->stridx, symp->st_name); in lookup_symbol_by_addr()
591 s = elf_strptr(elf, symtab->stridx, sym.st_name); in lookup_symbol_by_name()
707 s = elf_strptr(file->elf, symtab->stridx, sym.st_name); in proc_iter_symbyaddr()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c249 tmpsym.st_name = 0; in check_for_weak()
264 curfile = (char *)strdata->d_buf + sym.st_name; in check_for_weak()
374 match.iim_name = (char *)strdata->d_buf + sym.st_name; in sort_iidescs()
413 smatch.iim_name = (char *)strdata->d_buf + ssym.st_name; in sort_iidescs()
/freebsd/sys/kern/
H A Dlink_elf.c1434 return (ef->strtab + ref->st_name); in symbol_name()
1545 if (symp->st_name == 0) { in link_elf_lookup_symbol1()
1550 strp = ef->strtab + symp->st_name; in link_elf_lookup_symbol1()
1593 strp = ef->ddbstrtab + symp->st_name; in link_elf_lookup_debug_symbol()
1619 strp = ef->ddbstrtab + symp->st_name; in link_elf_lookup_debug_symbol_ctf()
1650 symval->name = ef->strtab + es->st_name; in link_elf_symbol_values1()
1684 symval->name = ef->ddbstrtab + es->st_name; in link_elf_debug_symbol_values()
1708 if (es->st_name == 0) in link_elf_search_symbol()
1800 error = callback(ef->ddbstrtab + symp->st_name, opaque); in link_elf_each_function_name()
1852 return (ef->strtab + sym->st_name); in elf_get_symname()
[all …]
H A Dlink_elf_obj.c1346 return ef->ddbstrtab + ref->st_name; in symbol_name()
1479 strp = ef->ddbstrtab + symp->st_name; in link_elf_lookup_symbol1()
1530 symval->name = ef->ddbstrtab + es->st_name; in link_elf_symbol_values1()
1569 if (es->st_name == 0) in link_elf_search_symbol()
1636 error = callback(ef->ddbstrtab + symp->st_name, opaque); in link_elf_each_function_name()
1726 symbol = ef->ddbstrtab + sym->st_name; in elf_obj_lookup()
1780 sym_name = ef->ddbstrtab + sym->st_name; in link_elf_fix_link_set()
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c233 dst->st_name = src->st_name; in sym_to_gelf()
277 if (gsp->st_name < strp->cts_size) in init_symtab()
278 name = (const char *)strp->cts_data + gsp->st_name; in init_symtab()
282 if (gsp->st_name == 0 || gsp->st_shndx == SHN_UNDEF || in init_symtab()
/freebsd/contrib/sendmail/src/
H A Dsm_resolve.c64 const char *st_name; member
117 for (p = stot; p->st_name != NULL; p++)
118 if (SM_STRCASEEQ(name, p->st_name))
140 for (p = stot; p->st_name != NULL; p++)
142 return p->st_name;
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp266 if (p->st_name >= strsz) break; in find_cfi_check_in_dso()
267 char *name = (char*)(strtab + p->st_name); in find_cfi_check_in_dso()
/freebsd/sys/sys/
H A Delf32.h198 Elf32_Word st_name; /* String table index of name. */ member
H A Delf64.h205 Elf64_Word st_name; /* String table index of name. */ member
/freebsd/sys/compat/linux/
H A Dlinux_vdso.c143 symname = strtab + sym->st_name; in __elfN()
/freebsd/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c399 const char *symname = strtabp + xe32toh(sp->st_name); in ELFNAMEEND()
417 sp->st_name = htowew(nstrtab_nextoff); in ELFNAMEEND()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c216 add_symbol(symp->st_name + strtab, in symtab_init()

123