Lines Matching refs:sym
2196 ElfW(Sym)* sym = si->find_symbol_by_address(addr);
2197 if (sym != nullptr) {
2198 info->dli_sname = si->get_string(sym->st_name);
2199 info->dli_saddr = reinterpret_cast<void*>(si->resolve_symbol_address(sym));
2232 const ElfW(Sym)* sym = nullptr;
2268 sym = dlsym_linear_lookup(ns, sym_name, vi, &found, caller, handle);
2274 sym = dlsym_handle_lookup(si, &found, sym_name, vi);
2277 if (sym != nullptr) {
2278 uint32_t bind = ELF_ST_BIND(sym->st_info);
2279 uint32_t type = ELF_ST_TYPE(sym->st_info);
2281 if ((bind == STB_GLOBAL || bind == STB_WEAK) && sym->st_shndx != 0) {
2292 *symbol = static_cast<char*>(tls_block) + sym->st_value;
2294 *symbol = reinterpret_cast<void*>(found->resolve_symbol_address(sym));
2703 bool soinfo::lookup_version_info(const VersionTracker& version_tracker, ElfW(Word) sym,
2705 const ElfW(Versym)* sym_ver_ptr = get_versym(sym);