Lines Matching refs:symbol

799     Elf32_Sym* symbol = GetSymbol(SHT_DYNSYM, symbol_and_chain_index);  in FindDynamicSymbol()  local
800 if (symbol == nullptr) { in FindDynamicSymbol()
803 const char* name = GetString(SHT_DYNSYM, symbol->st_name); in FindDynamicSymbol()
805 return symbol; in FindDynamicSymbol()
867 Elf32_Sym* symbol = GetSymbol(section_type, i); in FindSymbolByName() local
868 if (symbol == nullptr) { in FindSymbolByName()
871 unsigned char type = ELF32_ST_TYPE(symbol->st_info); in FindSymbolByName()
875 const char* name = GetString(*string_section, symbol->st_name); in FindSymbolByName()
880 (*symbol_table)->insert(std::make_pair(name, symbol)); in FindSymbolByName()
883 if ((symbol->st_value != result.first->second->st_value) || in FindSymbolByName()
884 (symbol->st_size != result.first->second->st_size) || in FindSymbolByName()
885 (symbol->st_info != result.first->second->st_info) || in FindSymbolByName()
886 (symbol->st_other != result.first->second->st_other) || in FindSymbolByName()
887 (symbol->st_shndx != result.first->second->st_shndx)) { in FindSymbolByName()
911 Elf32_Sym* symbol = GetSymbol(section_type, i); in FindSymbolByName() local
912 if (symbol == nullptr) { in FindSymbolByName()
915 const char* name = GetString(*string_section, symbol->st_name); in FindSymbolByName()
920 return symbol; in FindSymbolByName()
929 Elf32_Sym* symbol = FindSymbolByName(section_type, symbol_name, build_map); in FindSymbolAddress() local
930 if (symbol == nullptr) { in FindSymbolAddress()
933 return symbol->st_value; in FindSymbolAddress()