• Home
  • Raw
  • Download

Lines Matching refs:Elf_Shdr

29   typedef typename ELFT::Shdr Elf_Shdr;  typedef in __anondaeeffcc0111::ELFDumper
37 ArrayRef<Elf_Shdr> Sections;
48 Expected<StringRef> getUniquedSectionName(const Elf_Shdr *Sec);
51 const Elf_Shdr *SymTab);
57 DenseMap<const Elf_Shdr *, ArrayRef<Elf_Word>> ShndxTables;
65 Error dumpSymbols(const Elf_Shdr *Symtab,
67 Error dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
70 Error dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
71 Error dumpCommonRelocationSection(const Elf_Shdr *Shdr,
74 Error dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
77 Expected<ELFYAML::AddrsigSection *> dumpAddrsigSection(const Elf_Shdr *Shdr);
79 dumpLinkerOptionsSection(const Elf_Shdr *Shdr);
81 dumpDependentLibrariesSection(const Elf_Shdr *Shdr);
83 dumpCallGraphProfileSection(const Elf_Shdr *Shdr);
84 Expected<ELFYAML::DynamicSection *> dumpDynamicSection(const Elf_Shdr *Shdr);
85 Expected<ELFYAML::RelocationSection *> dumpRelocSection(const Elf_Shdr *Shdr);
86 Expected<ELFYAML::RelrSection *> dumpRelrSection(const Elf_Shdr *Shdr);
88 dumpContentSection(const Elf_Shdr *Shdr);
90 dumpSymtabShndxSection(const Elf_Shdr *Shdr);
91 Expected<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr);
92 Expected<ELFYAML::HashSection *> dumpHashSection(const Elf_Shdr *Shdr);
93 Expected<ELFYAML::NoteSection *> dumpNoteSection(const Elf_Shdr *Shdr);
94 Expected<ELFYAML::GnuHashSection *> dumpGnuHashSection(const Elf_Shdr *Shdr);
95 Expected<ELFYAML::VerdefSection *> dumpVerdefSection(const Elf_Shdr *Shdr);
96 Expected<ELFYAML::SymverSection *> dumpSymverSection(const Elf_Shdr *Shdr);
97 Expected<ELFYAML::VerneedSection *> dumpVerneedSection(const Elf_Shdr *Shdr);
98 Expected<ELFYAML::GroupSection *> dumpGroupSection(const Elf_Shdr *Shdr);
100 dumpARMIndexTableSection(const Elf_Shdr *Shdr);
101 Expected<ELFYAML::MipsABIFlags *> dumpMipsABIFlags(const Elf_Shdr *Shdr);
103 dumpStackSizesSection(const Elf_Shdr *Shdr);
105 dumpBBAddrMapSection(const Elf_Shdr *Shdr);
107 dumpPlaceholderSection(const Elf_Shdr *Shdr);
109 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
126 ELFDumper<ELFT>::getUniquedSectionName(const Elf_Shdr *Sec) { in getUniquedSectionName()
155 const Elf_Shdr *SymTab) { in getUniquedSymbolName()
189 const Elf_Shdr &SHdr, in shouldPrintSection()
196 const uint8_t *End = Begin + sizeof(Elf_Shdr); in shouldPrintSection()
306 const Elf_Shdr *SymTab = nullptr; in dump()
307 const Elf_Shdr *DynSymTab = nullptr; in dump()
309 for (const Elf_Shdr &Sec : Sections) { in dump()
320 const Elf_Shdr *LinkedSymTab = cantFail(Obj.getSection(Sec.sh_link)); in dump()
522 ELFDumper<ELFT>::dumpPlaceholderSection(const Elf_Shdr *Shdr) { in dumpPlaceholderSection()
541 -> std::function<Expected<ELFYAML::Chunk *>(const Elf_Shdr *)> { in dumpSections()
543 return [this](const Elf_Shdr *S) { return dumpARMIndexTableSection(S); }; in dumpSections()
547 return [this](const Elf_Shdr *S) { return dumpMipsABIFlags(S); }; in dumpSections()
551 return [this](const Elf_Shdr *S) { return dumpDynamicSection(S); }; in dumpSections()
553 return [this](const Elf_Shdr *S) { return dumpSymtabShndxSection(S); }; in dumpSections()
556 return [this](const Elf_Shdr *S) { return dumpRelocSection(S); }; in dumpSections()
558 return [this](const Elf_Shdr *S) { return dumpRelrSection(S); }; in dumpSections()
560 return [this](const Elf_Shdr *S) { return dumpGroupSection(S); }; in dumpSections()
562 return [this](const Elf_Shdr *S) { return dumpNoBitsSection(S); }; in dumpSections()
564 return [this](const Elf_Shdr *S) { return dumpNoteSection(S); }; in dumpSections()
566 return [this](const Elf_Shdr *S) { return dumpHashSection(S); }; in dumpSections()
568 return [this](const Elf_Shdr *S) { return dumpGnuHashSection(S); }; in dumpSections()
570 return [this](const Elf_Shdr *S) { return dumpVerdefSection(S); }; in dumpSections()
572 return [this](const Elf_Shdr *S) { return dumpSymverSection(S); }; in dumpSections()
574 return [this](const Elf_Shdr *S) { return dumpVerneedSection(S); }; in dumpSections()
576 return [this](const Elf_Shdr *S) { return dumpAddrsigSection(S); }; in dumpSections()
578 return [this](const Elf_Shdr *S) { return dumpLinkerOptionsSection(S); }; in dumpSections()
580 return [this](const Elf_Shdr *S) { in dumpSections()
585 [this](const Elf_Shdr *S) { return dumpCallGraphProfileSection(S); }; in dumpSections()
587 return [this](const Elf_Shdr *S) { return dumpBBAddrMapSection(S); }; in dumpSections()
594 return [this](const Elf_Shdr *S) { return dumpPlaceholderSection(S); }; in dumpSections()
600 for (const Elf_Shdr &Sec : Sections) { in dumpSections()
603 if (std::function<Expected<ELFYAML::Chunk *>(const Elf_Shdr *)> DumpFn = in dumpSections()
631 Error ELFDumper<ELFT>::dumpSymbols(const Elf_Shdr *Symtab, in dumpSymbols()
661 Error ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol()
683 const Elf_Shdr *Shdr = *ShdrOrErr; in dumpSymbol()
697 Error ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, in dumpRelocation()
751 Error ELFDumper<ELFT>::dumpCommonSection(const Elf_Shdr *Shdr, in dumpCommonSection()
791 const Elf_Shdr *Shdr, ELFYAML::RelocationSection &S) { in dumpCommonRelocationSection()
814 ELFDumper<ELFT>::dumpStackSizesSection(const Elf_Shdr *Shdr) { in dumpStackSizesSection()
847 ELFDumper<ELFT>::dumpBBAddrMapSection(const Elf_Shdr *Shdr) { in dumpBBAddrMapSection()
891 ELFDumper<ELFT>::dumpAddrsigSection(const Elf_Shdr *Shdr) { in dumpAddrsigSection()
932 ELFDumper<ELFT>::dumpLinkerOptionsSection(const Elf_Shdr *Shdr) { in dumpLinkerOptionsSection()
963 ELFDumper<ELFT>::dumpDependentLibrariesSection(const Elf_Shdr *Shdr) { in dumpDependentLibrariesSection()
990 ELFDumper<ELFT>::dumpCallGraphProfileSection(const Elf_Shdr *Shdr) { in dumpCallGraphProfileSection()
1046 ELFDumper<ELFT>::dumpDynamicSection(const Elf_Shdr *Shdr) { in dumpDynamicSection()
1064 ELFDumper<ELFT>::dumpRelocSection(const Elf_Shdr *Shdr) { in dumpRelocSection()
1104 ELFDumper<ELFT>::dumpRelrSection(const Elf_Shdr *Shdr) { in dumpRelrSection()
1128 ELFDumper<ELFT>::dumpContentSection(const Elf_Shdr *Shdr) { in dumpContentSection()
1152 ELFDumper<ELFT>::dumpSymtabShndxSection(const Elf_Shdr *Shdr) { in dumpSymtabShndxSection()
1169 ELFDumper<ELFT>::dumpNoBitsSection(const Elf_Shdr *Shdr) { in dumpNoBitsSection()
1180 ELFDumper<ELFT>::dumpNoteSection(const Elf_Shdr *Shdr) { in dumpNoteSection()
1216 ELFDumper<ELFT>::dumpHashSection(const Elf_Shdr *Shdr) { in dumpHashSection()
1257 ELFDumper<ELFT>::dumpGnuHashSection(const Elf_Shdr *Shdr) { in dumpGnuHashSection()
1308 ELFDumper<ELFT>::dumpVerdefSection(const Elf_Shdr *Shdr) { in dumpVerdefSection()
1360 ELFDumper<ELFT>::dumpSymverSection(const Elf_Shdr *Shdr) { in dumpSymverSection()
1380 ELFDumper<ELFT>::dumpVerneedSection(const Elf_Shdr *Shdr) { in dumpVerneedSection()
1444 const Elf_Shdr *Symtab = *SymtabOrErr; in getSymbolName()
1457 ELFDumper<ELFT>::dumpGroupSection(const Elf_Shdr *Shdr) { in dumpGroupSection()
1492 ELFDumper<ELFT>::dumpARMIndexTableSection(const Elf_Shdr *Shdr) { in dumpARMIndexTableSection()
1519 ELFDumper<ELFT>::dumpMipsABIFlags(const Elf_Shdr *Shdr) { in dumpMipsABIFlags()