Home
last modified time | relevance | path

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

/art/runtime/
Delf_file_impl.h39 using Elf_Shdr = typename ElfTypes::Shdr; variable
84 Elf_Shdr* GetSectionHeader(Elf_Word) const;
85 Elf_Shdr* FindSectionByType(Elf_Word type) const;
86 Elf_Shdr* FindSectionByName(const std::string& name) const;
88 Elf_Shdr* GetSectionNameStringSection() const;
94 Elf_Word GetSymbolNum(Elf_Shdr&) const;
104 const char* GetString(Elf_Shdr&, Elf_Word) const;
109 Elf_Word GetRelNum(Elf_Shdr&) const;
110 Elf_Rel& GetRel(Elf_Shdr&, Elf_Word) const;
112 Elf_Word GetRelaNum(Elf_Shdr&) const;
[all …]
Delf_file.cc183 Elf_Shdr* shstrtab_section_header = GetSectionNameStringSection(); in Setup()
205 Elf_Shdr* section_header = GetSectionHeader(i); in Setup()
306 Elf_Shdr* source_section = nullptr; in CheckSectionsLinked()
310 Elf_Shdr* section_header = GetSectionHeader(i); in CheckSectionsLinked()
713 return reinterpret_cast<Elf_Shdr*>(section_header); in GetSectionHeader()
722 Elf_Shdr* section_header = GetSectionHeader(i); in FindSectionByType()
804 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetSymbolNum(Elf_Shdr& section_header) const { in GetSymbolNum()
849 Elf_Shdr* symbol_section = FindSectionByType(section_type); in FindSymbolByName()
853 Elf_Shdr* string_section = GetSectionHeader(symbol_section->sh_link); in FindSymbolByName()
895 Elf_Shdr* symbol_section = FindSectionByType(section_type); in FindSymbolByName()
[all …]
/art/libelffile/elf/
Delf_debug_reader.h40 typedef typename ElfTypes::Shdr ALIGNED(1) Elf_Shdr; typedef
73 CHECK_EQ(header_->e_shentsize, sizeof(Elf_Shdr)); in ElfDebugReader()
74 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum); in ElfDebugReader()
75 for (const Elf_Shdr& section : sections_) { in ElfDebugReader()
81 const Elf_Shdr* gnu_debugdata = section_map_[".gnu_debugdata"]; in ElfDebugReader()
103 ArrayRef<Elf_Shdr> GetSections() { return sections_; } in GetSections()
105 const Elf_Shdr* GetSection(const char* name) { return section_map_[name]; } in GetSection()
123 const Elf_Shdr* symtab = GetSection(".symtab"); in VisitFunctionSymbols()
124 const Elf_Shdr* strtab = GetSection(".strtab"); in VisitFunctionSymbols()
125 const Elf_Shdr* text = GetSection(".text"); in VisitFunctionSymbols()
[all …]
Delf_builder.h82 using Elf_Shdr = typename ElfTypes::Shdr; variable
214 Elf_Shdr header_;
561 std::vector<Elf_Shdr> shdrs; in End()
563 shdrs.push_back(Elf_Shdr()); // NULL at index 0. in End()
878 elf_header.e_shentsize = sizeof(Elf_Shdr); in MakeElfHeader()
907 const Elf_Shdr& shdr = section->header_; in MakeProgramHeaders()
938 const Elf_Shdr& shdr = section->header_; in MakeProgramHeaders()
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc44 using Elf_Shdr = typename ElfTypes::Shdr; in WriteMinidebugInfo() typedef
59 const Elf_Shdr* original_text = reader.GetSection(".text"); in WriteMinidebugInfo()