Lines Matching refs:sym
2263 ElfW(Sym)* sym = si->find_symbol_by_address(addr);
2264 if (sym != nullptr) {
2265 info->dli_sname = si->get_string(sym->st_name);
2266 info->dli_saddr = reinterpret_cast<void*>(si->resolve_symbol_address(sym));
2299 const ElfW(Sym)* sym = nullptr;
2335 sym = dlsym_linear_lookup(ns, sym_name, vi, &found, caller, handle);
2341 sym = dlsym_handle_lookup(si, &found, sym_name, vi);
2344 if (sym != nullptr) {
2345 uint32_t bind = ELF_ST_BIND(sym->st_info);
2346 uint32_t type = ELF_ST_TYPE(sym->st_info);
2348 if ((bind == STB_GLOBAL || bind == STB_WEAK) && sym->st_shndx != 0) {
2359 *symbol = static_cast<char*>(tls_block) + sym->st_value;
2361 *symbol = reinterpret_cast<void*>(found->resolve_symbol_address(sym));
2770 bool soinfo::lookup_version_info(const VersionTracker& version_tracker, ElfW(Word) sym,
2772 const ElfW(Versym)* sym_ver_ptr = get_versym(sym);