HomeSort by relevance Sort by last modified time
    Searched refs:Elf_Shdr (Results 1 - 25 of 30) sorted by null

1 2

  /external/llvm/include/llvm/Object/
ELF.h 44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr;
75 const Elf_Shdr *SectionHeaderTable = nullptr;
82 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
84 ErrorOr<StringRef> getStringTable(const Elf_Shdr *Section) const;
85 ErrorOr<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const;
87 ErrorOr<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
89 void VerifyStrTab(const Elf_Shdr *sh) const;
97 const Elf_Shdr *SymTab) const;
112 const Elf_Shdr *section_begin() const;
113 const Elf_Shdr *section_end() const
    [all...]
ELFObjectFile.h 195 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
204 const Elf_Shdr *DotDynSymSec = nullptr; // Dynamic symbol table section.
205 const Elf_Shdr *DotSymtabSec = nullptr; // Symbol table section.
219 const Elf_Shdr *SymTab) const;
251 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
255 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const {
267 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr);
274 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const {
275 return reinterpret_cast<const Elf_Shdr *>(Sec.p)
    [all...]
  /art/libelffile/elf/
elf_debug_reader.h 39 typedef typename ElfTypes::Shdr ALIGNED(1) Elf_Shdr;
69 CHECK_EQ(header_->e_shentsize, sizeof(Elf_Shdr));
72 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum);
73 for (const Elf_Shdr& section : sections_) {
79 const Elf_Shdr* gnu_debugdata = section_map_[".gnu_debugdata"];
93 ArrayRef<Elf_Shdr> GetSections() { return sections_; }
95 const Elf_Shdr* GetSection(const char* name) { return section_map_[name]; }
99 const Elf_Shdr* symtab = GetSection(".symtab");
100 const Elf_Shdr* strtab = GetSection(".strtab");
101 const Elf_Shdr* text = GetSection(".text")
    [all...]
elf_builder.h 56 // Elf_Shdr[] - Section headers.
82 using Elf_Shdr = typename ElfTypes::Shdr;
214 Elf_Shdr header_;
551 std::vector<Elf_Shdr> shdrs;
553 shdrs.push_back(Elf_Shdr()); // NULL at index 0.
851 elf_header.e_shentsize = sizeof(Elf_Shdr);
    [all...]
  /external/llvm/tools/obj2yaml/
elf2yaml.cpp 25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
33 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
34 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr,
37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
40 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
41 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
43 dumpContentSection(const Elf_Shdr *Shdr);
44 ErrorOr<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr)
    [all...]
  /art/runtime/
elf_file_impl.h 39 using Elf_Shdr = typename ElfTypes::Shdr;
80 Elf_Shdr* GetSectionHeader(Elf_Word) const;
81 Elf_Shdr* FindSectionByType(Elf_Word type) const;
82 Elf_Shdr* FindSectionByName(const std::string& name) const;
84 Elf_Shdr* GetSectionNameStringSection() const;
90 Elf_Word GetSymbolNum(Elf_Shdr&) const;
100 const char* GetString(Elf_Shdr&, Elf_Word) const;
105 Elf_Word GetRelNum(Elf_Shdr&) const;
106 Elf_Rel& GetRel(Elf_Shdr&, Elf_Word) const;
108 Elf_Word GetRelaNum(Elf_Shdr&) const
    [all...]
elf_file.cc 183 Elf_Shdr* shstrtab_section_header = GetSectionNameStringSection();
205 Elf_Shdr* section_header = GetSectionHeader(i);
306 Elf_Shdr* source_section = nullptr;
310 Elf_Shdr* section_header = GetSectionHeader(i);
714 return reinterpret_cast<Elf_Shdr*>(section_header);
723 Elf_Shdr* section_header = GetSectionHeader(i);
805 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetSymbolNum(Elf_Shdr& section_header) const {
850 Elf_Shdr* symbol_section = FindSectionByType(section_type);
854 Elf_Shdr* string_section = GetSectionHeader(symbol_section->sh_link);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
ELF.h 58 using Elf_Shdr = typename ELFT::Shdr;
102 Expected<const T *> getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
104 Expected<StringRef> getStringTable(const Elf_Shdr *Section) const;
105 Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const;
106 Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section,
109 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
110 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
123 const Elf_Shdr *SymTab) const;
143 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const {
149 Expected<Elf_Rela_Range> relas(const Elf_Shdr *Sec) const
    [all...]
ELFObjectFile.h 215 using Elf_Shdr = typename ELFT::Shdr;
223 const Elf_Shdr *DotDynSymSec, const Elf_Shdr *DotSymtabSec,
229 const Elf_Shdr *DotDynSymSec = nullptr; // Dynamic symbol table section.
230 const Elf_Shdr *DotSymtabSec = nullptr; // Symbol table section.
244 const Elf_Shdr *SymTab) const;
279 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
286 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const {
304 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr);
311 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
elf2yaml.cpp 25 typedef typename ELFT::Shdr Elf_Shdr;
30 ArrayRef<Elf_Shdr> Sections;
37 Expected<StringRef> getUniquedSectionName(const Elf_Shdr *Sec);
39 const Elf_Shdr *SymTab);
44 std::error_code dumpSymbols(const Elf_Shdr *Symtab,
46 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
48 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
49 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr,
52 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
55 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr)
    [all...]
  /external/llvm/tools/yaml2obj/
yaml2elf.cpp 102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
121 bool initSectionHeaders(std::vector<Elf_Shdr> &SHeaders,
123 void initSymtabSectionHeader(Elf_Shdr &SHeader,
125 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name,
130 void writeSectionContent(Elf_Shdr &SHeader,
133 bool writeSectionContent(Elf_Shdr &SHeader,
136 bool writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group,
138 bool writeSectionContent(Elf_Shdr &SHeader,
178 Header.e_shentsize = sizeof(Elf_Shdr);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Object/
ELFObjectFile.cpp 261 typedef Elf_Shdr_Impl<target_endianness, is64Bits> Elf_Shdr;
289 typedef SmallVector<const Elf_Shdr*, 1> Sections_t;
291 typedef DenseMap<const Elf_Shdr*, SmallVector<uint32_t, 1> > RelocMap_t;
294 const Elf_Shdr *SectionHeaderTable;
295 const Elf_Shdr *dot_shstrtab_sec; // Section header string table.
296 const Elf_Shdr *dot_strtab_sec; // Symbol header string table.
306 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
315 const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
317 const Elf_Shdr *getSection(DataRefImpl index) const;
318 const Elf_Shdr *getSection(uint32_t index) const
    [all...]
  /external/llvm/tools/llvm-readobj/
ARMEHABIPrinter.h 310 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr;
316 const Elf_Shdr *Symtab;
329 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex,
332 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
333 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT,
339 const Elf_Shdr *Symtab)
371 const typename object::ELFFile<ET>::Elf_Shdr *
382 for (const Elf_Shdr &Sec : ELF->sections())
    [all...]
ELFDumper.cpp 53 typedef typename ELFO::Elf_Shdr Elf_Shdr; \
132 typedef typename ELFO::Elf_Shdr Elf_Shdr;
165 DynRegionInfo createDRIFrom(const Elf_Shdr *S) {
177 void LoadVersionNeeds(const Elf_Shdr *ec) const;
178 void LoadVersionDefs(const Elf_Shdr *sec) const;
190 const Elf_Shdr *DotSymtabSec = nullptr;
194 const Elf_Shdr *dot_gnu_version_sec = nullptr; // .gnu.version
195 const Elf_Shdr *dot_gnu_version_r_sec = nullptr; // .gnu.version_
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Elf32Convert.c 80 typedef Elf32_Shdr Elf_Shdr;
94 STATIC Elf_Shdr *mShdrBase;
163 mShdrBase = (Elf_Shdr *)((UINT8 *)mEhdr + mEhdr->e_shoff);
194 Elf_Shdr*
204 return (Elf_Shdr*)((UINT8*)mShdrBase + Num * mEhdr->e_shentsize);
245 Elf_Shdr *Shdr
254 Elf_Shdr *Shdr
257 Elf_Shdr *Namedr = GetShdrByIndex(mEhdr->e_shstrndx);
265 Elf_Shdr *Shdr
277 Elf_Shdr *Shdr
    [all...]
Elf64Convert.c 80 typedef Elf64_Shdr Elf_Shdr;
95 STATIC Elf_Shdr *mShdrBase;
167 mShdrBase = (Elf_Shdr *)((UINT8 *)mEhdr + mEhdr->e_shoff);
200 Elf_Shdr*
210 return (Elf_Shdr*)((UINT8*)mShdrBase + Num * mEhdr->e_shentsize);
237 Elf_Shdr *Shdr
246 Elf_Shdr *Shdr
249 Elf_Shdr *Namedr = GetShdrByIndex(mEhdr->e_shstrndx);
257 Elf_Shdr *Shdr
269 Elf_Shdr *Shdr
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
ARMEHABIPrinter.h 327 typedef typename ET::Shdr Elf_Shdr;
333 const Elf_Shdr *Symtab;
346 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex,
349 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
350 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT,
356 const Elf_Shdr *Symtab)
400 for (const Elf_Shdr &Sec : unwrapOrError(ELF->sections())) {
407 const Elf_Shdr *SymTab = *SymTabOrErr;
431 void PrinterContext<ET>::PrintExceptionTable(const Elf_Shdr *IT
    [all...]
ELFDumper.cpp 83 using Elf_Shdr = typename ELFT::Shdr; \
194 DynRegionInfo createDRIFrom(const Elf_Shdr *S) {
206 void LoadVersionNeeds(const Elf_Shdr *ec) const;
207 void LoadVersionDefs(const Elf_Shdr *sec) const;
220 const Elf_Shdr *DotSymtabSec = nullptr;
221 const Elf_Shdr *DotCGProfileSec = nullptr;
222 const Elf_Shdr *DotAddrsigSec = nullptr;
226 const Elf_Shdr *dot_gnu_version_sec = nullptr; // .gnu.version
227 const Elf_Shdr *dot_gnu_version_r_sec = nullptr; // .gnu.version_r
228 const Elf_Shdr *dot_gnu_version_d_sec = nullptr; // .gnu.version_
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
yaml2elf.cpp 113 typedef typename ELFT::Shdr Elf_Shdr;
140 bool initSectionHeaders(std::vector<Elf_Shdr> &SHeaders,
142 void initSymtabSectionHeader(Elf_Shdr &SHeader, SymtabType STType,
144 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name,
148 std::vector<Elf_Shdr> &SHeaders);
152 void writeSectionContent(Elf_Shdr &SHeader,
155 bool writeSectionContent(Elf_Shdr &SHeader,
158 bool writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group,
160 bool writeSectionContent(Elf_Shdr &SHeader,
209 Header.e_shentsize = sizeof(Elf_Shdr);
    [all...]
  /development/vndk/tools/definition-tool/tools/
remove_dt_needed.py 18 Elf_Shdr = collections.namedtuple(
19 'Elf_Shdr',
145 return parse_struct(Elf_Shdr, elf_shdr_fmt, offset,
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
Object.cpp 703 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index));
717 const Elf_Shdr &ShndxSec =
785 SectionBase &ELFBuilder<ELFT>::makeSection(const Elf_Shdr &Shdr) {
    [all...]
Object.h 193 using Elf_Shdr = typename ELFT::Shdr;
629 using Elf_Shdr = typename ELFT::Shdr;
641 SectionBase &makeSection(const Elf_Shdr &Shdr);
  /external/llvm/tools/llvm-objdump/
llvm-objdump.cpp 493 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr;
498 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a);
501 const Elf_Shdr *Sec = *SecOrErr;
502 ErrorOr<const Elf_Shdr *> SymTabOrErr = EF.getSection(Sec->sh_link);
505 const Elf_Shdr *SymTab = *SymTabOrErr;
508 ErrorOr<const Elf_Shdr *> StrTabSec = EF.getSection(SymTab->sh_link);
538 const Elf_Shdr *SymSec = Obj->getSection((*SymSI)->getRawDataRefImpl());
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
ELF.cpp 341 ELFFile<ELFT>::android_relas(const Elf_Shdr *Sec) const {
505 for (const Elf_Shdr &Sec : *SectionsOrError) {
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
ELFDump.cpp 46 for (const typename ELFO::Elf_Shdr &Sec : *SectionsOrError) {

Completed in 1879 milliseconds

1 2