Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Object/
DELF.h125 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef
140 typedef ELFEntityIterator<const Elf_Shdr> Elf_Shdr_Iter;
231 typedef SmallVector<const Elf_Shdr *, 2> Sections_t;
241 const Elf_Shdr *SectionHeaderTable;
242 const Elf_Shdr *dot_shstrtab_sec; // Section header string table.
243 const Elf_Shdr *dot_strtab_sec; // Symbol header string table.
244 const Elf_Shdr *dot_symtab_sec; // Symbol table section.
246 const Elf_Shdr *SymbolTableSectionHeaderIndex;
249 const Elf_Shdr *dot_gnu_version_sec; // .gnu.version
250 const Elf_Shdr *dot_gnu_version_r_sec; // .gnu.version_r
[all …]
DELFObjectFile.h46 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef
122 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
157 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
363 const Elf_Shdr *ESec = EF.getSection(ESym); in getSymbolSection()
503 const Elf_Shdr *S = reinterpret_cast<const Elf_Shdr *>(Sec.p); in section_rel_end()
524 const Elf_Shdr *R = EF.getSection(EShdr->sh_info); in getRelocatedSection()
538 const Elf_Shdr *sec = getRelSection(Rel); in getRelocationSymbol()
554 const Elf_Shdr *SymSec = EF.getSection(sec->sh_link); in getRelocationSymbol()
579 const Elf_Shdr *RelocationSec = getRelSection(Rel); in getRelocationAddress()
580 const Elf_Shdr *RelocatedSec = EF.getSection(RelocationSec->sh_info); in getRelocationAddress()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp24 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon0087c49b0111::ELFDumper
30 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
31 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr,
34 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel,
37 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
38 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
40 dumpContentSection(const Elf_Shdr *Shdr);
67 for (const Elf_Shdr &Sec : Obj.sections()) { in dump()
143 const Elf_Shdr *Shdr = Obj.getSection(&*Sym); in dumpSymbol()
157 std::error_code ELFDumper<ELFT>::dumpRelocation(const Elf_Shdr *Shdr, in dumpRelocation()
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp104 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon1bc5c7db0311::ELFState
123 bool initSectionHeaders(std::vector<Elf_Shdr> &SHeaders,
125 void initSymtabSectionHeader(Elf_Shdr &SHeader,
127 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name,
132 void writeSectionContent(Elf_Shdr &SHeader,
135 bool writeSectionContent(Elf_Shdr &SHeader,
175 Header.e_shentsize = sizeof(Elf_Shdr); in initELFHeader()
183 bool ELFState<ELFT>::initSectionHeaders(std::vector<Elf_Shdr> &SHeaders, in initSectionHeaders()
187 Elf_Shdr SHeader; in initSectionHeaders()
239 void ELFState<ELFT>::initSymtabSectionHeader(Elf_Shdr &SHeader, in initSymtabSectionHeader()
[all …]
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h312 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; typedef
328 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex,
331 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
332 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT,
358 const typename object::ELFFile<ET>::Elf_Shdr *
380 std::pair<const Elf_Shdr *, const Elf_Sym *> Symbol = in FindExceptionTable()
392 void PrinterContext<ET>::PrintExceptionTable(const Elf_Shdr *IT, in PrintExceptionTable()
393 const Elf_Shdr *EHT, in PrintExceptionTable()
461 const Elf_Shdr *IT) const { in PrintIndexTable()
512 const Elf_Shdr *EHT = in PrintIndexTable()
[all …]
DELFDumper.cpp62 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in __anon327221220111::ELFDumper
67 void printRelocations(const Elf_Shdr *Sec);
68 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel);
159 const typename ELFO::Elf_Shdr *Sec = Obj.getSection(SectionIndex); in getSectionNameIndex()
165 static const typename ELFFile<ELFT>::Elf_Shdr *
573 const Elf_Shdr *Section = &*SecI; in printSections()
640 void ELFDumper<ELFT>::printRelocations(const Elf_Shdr *Sec) { in printRelocations()
664 void ELFDumper<ELFT>::printRelocation(const Elf_Shdr *Sec, in printRelocation()
669 std::pair<const Elf_Shdr *, const Elf_Sym *> Sym = in printRelocation()
1039 typedef typename ObjectFile::Elf_Shdr Elf_Shdr; typedef in __anon327221220411::MipsGOTParser
[all …]
/external/valgrind/main/VEX/unused/
Dlinker.c120 #define Elf_Shdr Elf64_Shdr macro
135 #define Elf_Shdr Elf32_Shdr macro
331 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff); in findElfSection()
420 Elf_Shdr* shdr, int shnum, in do_Elf_Rel_relocations()
546 Elf_Shdr* shdr, int shnum, in do_Elf_Rela_relocations()
715 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocResolve_ELF()
769 Elf_Shdr* shdr; in ocVerifyImage_ELF()
828 assert (ehdr->e_shentsize == sizeof(Elf_Shdr)); in ocVerifyImage_ELF()
830 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocVerifyImage_ELF()
959 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocGetNames_ELF()
[all …]
/external/valgrind/main/VEX/switchback/
Dlinker.c186 #define Elf_Shdr Elf64_Shdr
201 #define Elf_Shdr Elf32_Shdr
399 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff);
516 Elf_Shdr* shdr, int shnum,
642 Elf_Shdr* shdr, int shnum,
875 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
929 Elf_Shdr* shdr;
991 assert (ehdr->e_shentsize == sizeof(Elf_Shdr));
993 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
1122 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp507 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getSymbolNMTypeChar() typedef
515 const Elf_Shdr *ESec = EF.getSection(ESym); in getSymbolNMTypeChar()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp45 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in __anonbe5e12370111::DyldELFObject
131 Elf_Shdr *shdr = in updateSectionAddress()
132 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in updateSectionAddress()