Lines Matching refs:sym
299 static bool symbol_matches_soaddr(const ElfW(Sym)* sym, ElfW(Addr) soaddr) { in symbol_matches_soaddr() argument
303 return sym->st_shndx != SHN_UNDEF && in symbol_matches_soaddr()
304 ELF_ST_TYPE(sym->st_info) != STT_TLS && in symbol_matches_soaddr()
305 soaddr >= sym->st_value && in symbol_matches_soaddr()
306 soaddr < sym->st_value + sym->st_size; in symbol_matches_soaddr()
320 ElfW(Sym)* sym = symtab_ + n; in ElfW()
321 if (symbol_matches_soaddr(sym, soaddr)) { in ElfW()
322 return sym; in ElfW()
336 ElfW(Sym)* sym = symtab_ + i; in ElfW()
337 if (symbol_matches_soaddr(sym, soaddr)) { in ElfW()
338 return sym; in ElfW()