Home
last modified time | relevance | path

Searched refs:string_section (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Delf_stripper.cc75 Elf32_Shdr* string_section = elf_file->GetSectionNameStringSection(); in Strip() local
76 CHECK(string_section != nullptr); in Strip()
80 const char* name = elf_file->GetString(*string_section, sh->sh_name); in Strip()
/art/runtime/
Delf_file.cc862 Elf32_Shdr* string_section = GetSectionHeader(symbol_section->sh_link); in FindSymbolByName() local
863 if (string_section == nullptr) { in FindSymbolByName()
875 const char* name = GetString(*string_section, symbol->st_name); in FindSymbolByName()
906 Elf32_Shdr* string_section = GetSectionHeader(symbol_section->sh_link); in FindSymbolByName() local
907 if (string_section == nullptr) { in FindSymbolByName()
915 const char* name = GetString(*string_section, symbol->st_name); in FindSymbolByName()
936 const char* ElfFile::GetString(Elf32_Shdr& string_section, Elf32_Word i) const { in GetString() argument
939 if (static_cast<Elf32_Word>(SHT_STRTAB) != string_section.sh_type) { in GetString()
942 if (i >= string_section.sh_size) { in GetString()
948 byte* strings = Begin() + string_section.sh_offset; in GetString()