Home | History | Annotate | Download | only in Object

Lines Matching defs:EF

213   ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF,
218 ELFFile<ELFT> EF;
270 auto RelSecOrErr = EF.getSection(Rel.d.a);
286 auto SectionsOrErr = EF.sections();
342 auto Ret = EF.template getEntry<Elf_Sym>(Sym.d.a, Sym.d.b);
368 Result = EF.getHeader()->e_flags;
373 auto SectionsOrErr = EF.sections();
379 auto ErrorOrContents = EF.getSectionContents(&Sec);
394 const ELFFile<ELFT> *getELFFile() const { return &EF; }
420 auto SymTabOrErr = EF.getSection(Sym.d.a);
424 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link);
428 auto SymStrTabOrErr = EF.getStringTable(StringTableSec);
456 const Elf_Ehdr *Header = EF.getHeader();
477 const Elf_Ehdr *Header = EF.getHeader();
478 auto SymTabOrErr = EF.getSection(Symb.d.a);
484 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable);
505 return EF.getHeader()->e_machine;
569 auto DotSymtabSecSyms = EF.symbols(DotSymtabSec);
572 auto DotDynSymSecSyms = EF.symbols(DotDynSymSec);
576 if (EF.getHeader()->e_machine == ELF::EM_ARM) {
609 auto ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable);
626 auto SymTabOrErr = EF.getSection(Symb.d.a);
642 auto Name = EF.getSectionName(&*getSection(Sec));
656 auto SectionsOrErr = EF.sections();
721 auto SectionsOrErr = EF.sections();
725 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize;
741 auto SymSecOrErr = EF.getSection(RelSec->sh_link);
752 if (EF.getHeader()->e_type != ELF::ET_REL)
760 auto R = EF.getSection(EShdr->sh_info);
778 symbolIdx = getRel(Rel)->getSymbol(EF.isMips64EL());
780 symbolIdx = getRela(Rel)->getSymbol(EF.isMips64EL());
793 assert(EF.getHeader()->e_type == ELF::ET_REL &&
806 return getRel(Rel)->getType(EF.isMips64EL());
808 return getRela(Rel)->getType(EF.isMips64EL());
813 return getELFRelocationTypeName(EF.getHeader()->e_machine, Type);
820 EF.getRelocationTypeName(type, Result);
835 auto Ret = EF.template getEntry<Elf_Rel>(Rel.d.a, Rel.d.b);
845 auto Ret = EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b);
857 auto EF = std::move(*EFOrErr);
859 auto SectionsOrErr = EF.sections();
881 auto TableOrErr = EF.getSHNDXTable(Sec);
889 return ELFObjectFile<ELFT>(Object, EF, DotDynSymSec, DotSymtabSec,
894 ELFObjectFile<ELFT>::ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF,
901 EF(EF), DotDynSymSec(DotDynSymSec), DotSymtabSec(DotSymtabSec),
906 : ELFObjectFile(Other.Data, Other.EF, Other.DotDynSymSec,
941 auto SectionsOrErr = EF.sections();
949 auto SectionsOrErr = EF.sections();
963 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) {
965 switch (EF.getHeader()->e_machine) {
997 switch (EF.getHeader()->e_machine) {
1032 switch (EF.getHeader()->e_machine) {
1049 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) {
1062 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) {
1079 switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) {
1089 unsigned EFlags = EF.getHeader()->e_flags;
1115 return EF.getHeader()->e_type == ELF::ET_REL;