Home | History | Annotate | Download | only in Object

Lines Matching refs:ELFFile

10 // This file declares the ELFFile template class.
37 // Subclasses of ELFFile may need this for template instantiation
52 class ELFFile {
86 ELFFile(StringRef Object);
117 static Expected<ELFFile> create(StringRef Object);
180 using ELF32LEFile = ELFFile<ELFType<support::little, false>>;
181 using ELF64LEFile = ELFFile<ELFType<support::little, true>>;
182 using ELF32BEFile = ELFFile<ELFType<support::big, false>>;
183 using ELF64BEFile = ELFFile<ELFType<support::big, true>>;
209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms,
226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
236 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, Elf_Sym_Range Symbols,
257 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const {
267 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const {
286 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const {
291 StringRef ELFFile<ELFT>::getRelocationTypeName(uint32_t Type) const {
296 void ELFFile<ELFT>::getRelocationTypeName(uint32_t Type,
328 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel,
338 ELFFile<ELFT>::getSectionStringTable(Elf_Shdr_Range Sections) const {
350 template <class ELFT> ELFFile<ELFT>::ELFFile(StringRef Object) : Buf(Object) {}
353 Expected<ELFFile<ELFT>> ELFFile<ELFT>::create(StringRef Object) {
356 return ELFFile(Object);
365 Expected<typename ELFT::ShdrRange> ELFFile<ELFT>::sections() const {
404 Expected<const T *> ELFFile<ELFT>::getEntry(uint32_t Section,
414 Expected<const T *> ELFFile<ELFT>::getEntry(const Elf_Shdr *Section,
426 ELFFile<ELFT>::getSection(uint32_t Index) const {
435 ELFFile<ELFT>::getStringTable(const Elf_Shdr *Section) const {
451 ELFFile<ELFT>::getSHNDXTable(const Elf_Shdr &Section) const {
460 ELFFile<ELFT>::getSHNDXTable(const Elf_Shdr &Section,
481 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const {
490 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec,
504 ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section) const {
515 Expected<StringRef> ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section,