Lines Matching refs:ElfFileImpl
40 ElfFileImpl<ElfTypes>::ElfFileImpl(File* file, bool writable, bool program_header_only) in ElfFileImpl() function in art::ElfFileImpl
60 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open(File* file, in Open()
65 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open()
66 new ElfFileImpl<ElfTypes>(file, writable, program_header_only)); in Open()
83 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open(File* file, in Open()
88 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open()
89 new ElfFileImpl<ElfTypes>(file, (prot & PROT_WRITE) != 0, /* program_header_only= */ false)); in Open()
97 bool ElfFileImpl<ElfTypes>::Setup(File* file, in Setup()
280 ElfFileImpl<ElfTypes>::~ElfFileImpl() { in ~ElfFileImpl()
286 bool ElfFileImpl<ElfTypes>::CheckAndSet(Elf32_Off offset, const char* label, in CheckAndSet()
298 bool ElfFileImpl<ElfTypes>::CheckSectionsLinked(const uint8_t* source, in CheckSectionsLinked()
331 bool ElfFileImpl<ElfTypes>::CheckSectionsExist(File* file, std::string* error_msg) const { in CheckSectionsExist()
415 bool ElfFileImpl<ElfTypes>::SetMap(File* file, MemMap&& map, std::string* error_msg) { in SetMap()
550 typename ElfTypes::Ehdr& ElfFileImpl<ElfTypes>::GetHeader() const { in GetHeader()
556 uint8_t* ElfFileImpl<ElfTypes>::GetProgramHeadersStart() const { in GetProgramHeadersStart()
563 uint8_t* ElfFileImpl<ElfTypes>::GetSectionHeadersStart() const { in GetSectionHeadersStart()
570 typename ElfTypes::Phdr& ElfFileImpl<ElfTypes>::GetDynamicProgramHeader() const { in GetDynamicProgramHeader()
576 typename ElfTypes::Dyn* ElfFileImpl<ElfTypes>::GetDynamicSectionStart() const { in GetDynamicSectionStart()
582 typename ElfTypes::Sym* ElfFileImpl<ElfTypes>::GetSymbolSectionStart( in GetSymbolSectionStart()
602 const char* ElfFileImpl<ElfTypes>::GetStringSectionStart( in GetStringSectionStart()
620 const char* ElfFileImpl<ElfTypes>::GetString(Elf_Word section_type, in GetString()
637 typename ElfTypes::Word* ElfFileImpl<ElfTypes>::GetHashSectionStart() const { in GetHashSectionStart()
642 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashBucketNum() const { in GetHashBucketNum()
647 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashChainNum() const { in GetHashChainNum()
652 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashBucket(size_t i, bool* ok) const { in GetHashBucket()
663 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashChain(size_t i, bool* ok) const { in GetHashChain()
674 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetProgramHeaderNum() const { in GetProgramHeaderNum()
679 typename ElfTypes::Phdr* ElfFileImpl<ElfTypes>::GetProgramHeader(Elf_Word i) const { in GetProgramHeader()
687 typename ElfTypes::Phdr* ElfFileImpl<ElfTypes>::FindProgamHeaderByType(Elf_Word type) const { in FindProgamHeaderByType()
698 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetSectionHeaderNum() const { in GetSectionHeaderNum()
703 typename ElfTypes::Shdr* ElfFileImpl<ElfTypes>::GetSectionHeader(Elf_Word i) const { in GetSectionHeader()
718 typename ElfTypes::Shdr* ElfFileImpl<ElfTypes>::FindSectionByType(Elf_Word type) const { in FindSectionByType()
746 typename ElfTypes::Shdr* ElfFileImpl<ElfTypes>::GetSectionNameStringSection() const { in GetSectionNameStringSection()
751 const uint8_t* ElfFileImpl<ElfTypes>::FindDynamicSymbolAddress( in FindDynamicSymbolAddress()
769 const typename ElfTypes::Sym* ElfFileImpl<ElfTypes>::FindDynamicSymbol( in FindDynamicSymbol()
800 bool ElfFileImpl<ElfTypes>::IsSymbolSectionType(Elf_Word section_type) { in IsSymbolSectionType()
805 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetSymbolNum(Elf_Shdr& section_header) const { in GetSymbolNum()
813 typename ElfTypes::Sym* ElfFileImpl<ElfTypes>::GetSymbol(Elf_Word section_type, Elf_Word i) const { in GetSymbol()
822 typename ElfFileImpl<ElfTypes>::SymbolTable**
823 ElfFileImpl<ElfTypes>::GetSymbolTable(Elf_Word section_type) { in GetSymbolTable()
840 typename ElfTypes::Sym* ElfFileImpl<ElfTypes>::FindSymbolByName( in FindSymbolByName()
921 typename ElfTypes::Addr ElfFileImpl<ElfTypes>::FindSymbolAddress( in FindSymbolAddress()
931 const char* ElfFileImpl<ElfTypes>::GetString(Elf_Shdr& string_section, in GetString()
953 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetDynamicNum() const { in GetDynamicNum()
958 typename ElfTypes::Dyn& ElfFileImpl<ElfTypes>::GetDynamic(Elf_Word i) const { in GetDynamic()
964 typename ElfTypes::Dyn* ElfFileImpl<ElfTypes>::FindDynamicByType(Elf_Sword type) const { in FindDynamicByType()
975 typename ElfTypes::Word ElfFileImpl<ElfTypes>::FindDynamicValueByType(Elf_Sword type) const { in FindDynamicValueByType()
985 typename ElfTypes::Rel* ElfFileImpl<ElfTypes>::GetRelSectionStart(Elf_Shdr& section_header) const { in GetRelSectionStart()
991 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetRelNum(Elf_Shdr& section_header) const { in GetRelNum()
998 typename ElfTypes::Rel& ElfFileImpl<ElfTypes>::GetRel(Elf_Shdr& section_header, Elf_Word i) const { in GetRel()
1005 typename ElfTypes::Rela* ElfFileImpl<ElfTypes>::GetRelaSectionStart(Elf_Shdr& section_header) const… in GetRelaSectionStart()
1011 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetRelaNum(Elf_Shdr& section_header) const { in GetRelaNum()
1017 typename ElfTypes::Rela& ElfFileImpl<ElfTypes>::GetRela(Elf_Shdr& section_header, Elf_Word i) const… in GetRela()
1024 bool ElfFileImpl<ElfTypes>::GetLoadedSize(size_t* size, std::string* error_msg) const { in GetLoadedSize()
1031 bool ElfFileImpl<ElfTypes>::GetLoadedAddressRange(/*out*/uint8_t** vaddr_begin, in GetLoadedAddressRange()
1103 bool ElfFileImpl<ElfTypes>::Load(File* file, in Load()
1345 bool ElfFileImpl<ElfTypes>::ValidPointer(const uint8_t* start) const { in ValidPointer()
1356 typename ElfTypes::Shdr* ElfFileImpl<ElfTypes>::FindSectionByName( in FindSectionByName()
1380 bool ElfFileImpl<ElfTypes>::FixupDebugSections(Elf_Addr base_address_delta) { in FixupDebugSections()
1390 bool ElfFileImpl<ElfTypes>::ApplyOatPatchesTo( in ApplyOatPatchesTo()
1417 void ElfFileImpl<ElfTypes>::ApplyOatPatches( in ApplyOatPatches()
1430 bool ElfFileImpl<ElfTypes>::Strip(File* file, std::string* error_msg) { in Strip()
1534 bool ElfFileImpl<ElfTypes>::Fixup(Elf_Addr base_address) { in Fixup()
1568 bool ElfFileImpl<ElfTypes>::FixupDynamic(Elf_Addr base_address) { in FixupDynamic()
1588 bool ElfFileImpl<ElfTypes>::FixupSectionHeaders(Elf_Addr base_address) { in FixupSectionHeaders()
1608 bool ElfFileImpl<ElfTypes>::FixupProgramHeaders(Elf_Addr base_address) { in FixupProgramHeaders()
1631 bool ElfFileImpl<ElfTypes>::FixupSymbols(Elf_Addr base_address, bool dynamic) { in FixupSymbols()
1657 bool ElfFileImpl<ElfTypes>::FixupRelocations(Elf_Addr base_address) { in FixupRelocations()
1689 template class ElfFileImpl<ElfTypes32>; variable
1690 template class ElfFileImpl<ElfTypes64>; variable