Lines Matching refs:sym
32 gelf_type (GElf_Sym *sym) in gelf_type() argument
34 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
56 gelf_bind (GElf_Sym *sym) in gelf_bind() argument
58 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
72 gelf_bind_order (GElf_Sym *sym) in gelf_bind_order() argument
74 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
122 GElf_Sym sym; in list_syms() local
126 const char *name = dwfl_module_getsym (mod, ndx, &sym, &shndxp); in list_syms()
129 ndx, gelf_type (&sym), gelf_bind (&sym), name, in list_syms()
130 sym.st_size, sym.st_value); in list_syms()
144 assert (sym.st_value == isym.st_value in list_syms()
145 || sym.st_value == isym.st_value + bias in list_syms()
151 if (GELF_ST_TYPE (sym.st_info) == STT_FUNC && shndxp != SHN_UNDEF) in list_syms()
154 assert (addr_in_section (elf, shndxp, sym.st_value - bias)); in list_syms()
173 || gelf_bind_order (&asym) >= gelf_bind_order (&sym)) in list_syms()
174 && value <= sym.st_value); in list_syms()
176 addr = sym.st_value; in list_syms()