Lines Matching refs:ElfFile
875 for (const auto &Phdr : unwrapOrError(ElfFile.program_headers())) { in readProgramHeaders()
876 ArrayRef<uint8_t> Data{ElfFile.base() + Phdr.p_offset, in readProgramHeaders()
903 const auto &Ehdr = *ElfFile.getHeader(); in readProgramHeaders()
959 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index)); in initSymbolTable()
960 StringRef StrTabData = unwrapOrError(ElfFile.getStringTableForSymtab(Shdr)); in initSymbolTable()
963 auto Symbols = unwrapOrError(ElfFile.symbols(&Shdr)); in initSymbolTable()
974 *unwrapOrError(ElfFile.getSection(SymTab->getShndxTable()->Index)); in initSymbolTable()
976 ElfFile.template getSectionContentsAsArray<Elf_Word>(&ShndxSec)); in initSymbolTable()
1046 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1055 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1063 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1066 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1069 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1072 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1087 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()
1104 for (const auto &Shdr : unwrapOrError(ElfFile.sections())) { in readSectionHeaders()
1110 Sec.Name = unwrapOrError(ElfFile.getSectionName(&Shdr)); in readSectionHeaders()
1123 ArrayRef<uint8_t>(ElfFile.base() + Shdr.sh_offset, in readSectionHeaders()
1149 auto Shdr = unwrapOrError(ElfFile.sections()).begin() + RelSec->Index; in readSectionHeaders()
1152 unwrapOrError(ElfFile.rels(Shdr))); in readSectionHeaders()
1155 unwrapOrError(ElfFile.relas(Shdr))); in readSectionHeaders()
1163 const auto &Ehdr = *ElfFile.getHeader(); in build()
1178 ShstrIndex = unwrapOrError(ElfFile.getSection(0))->sh_link; in build()