Lines Matching refs:sym
71 const Elf32_Sym *sym = dmp->dm_symtab.cts_data;
77 for (i = 0; i < n; i++, sym++) {
78 const char *name = base + sym->st_name;
79 uchar_t type = ELF32_ST_TYPE(sym->st_info);
84 if (sym->st_name == 0 || sym->st_name >= ss_size)
87 if (sym->st_value != 0 &&
88 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
104 const Elf64_Sym *sym = dmp->dm_symtab.cts_data;
110 for (i = 0; i < n; i++, sym++) {
111 const char *name = base + sym->st_name;
112 uchar_t type = ELF64_ST_TYPE(sym->st_info);
117 if (sym->st_name == 0 || sym->st_name >= ss_size)
120 if (sym->st_value != 0 &&
121 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
197 Elf32_Sym *sym = symtab + dsp->ds_symid;
198 if (sym->st_value != 0 &&
199 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
200 *sympp++ = sym;
221 Elf64_Sym *sym = symtab + dsp->ds_symid;
222 if (sym->st_value != 0 &&
223 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
224 *sympp++ = sym;
267 const Elf32_Sym *sym;
278 sym = symtab + dsp->ds_symid;
280 if (strcmp(name, strtab + sym->st_name) == 0) {
283 return (dt_module_symgelf32(sym, symp));
297 const Elf64_Sym *sym;
308 sym = symtab + dsp->ds_symid;
310 if (strcmp(name, strtab + sym->st_name) == 0) {
313 return (dt_module_symgelf64(sym, symp));
326 const Elf32_Sym *sym;
343 sym = asmap[i];
344 v = sym->st_value;
351 sym = asmap[i];
353 if (addr - sym->st_value < MAX(sym->st_size, 1)) {
355 *idp = (uint_t)(sym - symtab);
356 return (dt_module_symgelf32(sym, symp));
368 const Elf64_Sym *sym;
385 sym = asmap[i];
386 v = sym->st_value;
393 sym = asmap[i];
395 if (addr - sym->st_value < MAX(sym->st_size, 1)) {
397 *idp = (uint_t)(sym - symtab);
398 return (dt_module_symgelf64(sym, symp));
1016 GElf_Sym sym;
1042 symp = &sym;
1063 if (symp != &sym) {