Home
last modified time | relevance | path

Searched refs:Elf32_Shdr (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Delf_file.h76 Elf32_Shdr* GetSectionHeader(Elf32_Word) const;
77 Elf32_Shdr* FindSectionByType(Elf32_Word type) const;
78 Elf32_Shdr* FindSectionByName(const std::string& name) const;
80 Elf32_Shdr* GetSectionNameStringSection() const;
85 Elf32_Word GetSymbolNum(Elf32_Shdr&) const;
96 const char* GetString(Elf32_Shdr&, Elf32_Word) const;
101 Elf32_Word GetRelNum(Elf32_Shdr&) const;
102 Elf32_Rel& GetRel(Elf32_Shdr&, Elf32_Word) const;
104 Elf32_Word GetRelaNum(Elf32_Shdr&) const;
105 Elf32_Rela& GetRela(Elf32_Shdr&, Elf32_Word) const;
[all …]
Delf_file.cc221 Elf32_Shdr* shstrtab_section_header = GetSectionNameStringSection(); in Setup()
243 Elf32_Shdr* section_header = GetSectionHeader(i); in Setup()
345 Elf32_Shdr* source_section = nullptr; in CheckSectionsLinked()
349 Elf32_Shdr* section_header = GetSectionHeader(i); in CheckSectionsLinked()
725 Elf32_Shdr* ElfFile::GetSectionHeader(Elf32_Word i) const { in GetSectionHeader()
736 return reinterpret_cast<Elf32_Shdr*>(section_header); in GetSectionHeader()
739 Elf32_Shdr* ElfFile::FindSectionByType(Elf32_Word type) const { in FindSectionByType()
744 Elf32_Shdr* section_header = GetSectionHeader(i); in FindSectionByType()
766 Elf32_Shdr* ElfFile::GetSectionNameStringSection() const { in GetSectionNameStringSection()
815 Elf32_Word ElfFile::GetSymbolNum(Elf32_Shdr& section_header) const { in GetSymbolNum()
[all …]
Doat_file.cc50 Elf32_Shdr* hdr = elf_file->FindSectionByName(".rodata"); in OpenWithElfFile()
Delf.h1204 struct Elf32_Shdr { struct
/art/compiler/
Delf_stripper.cc70 std::vector<Elf32_Shdr> section_headers; in Strip()
75 Elf32_Shdr* string_section = elf_file->GetSectionNameStringSection(); in Strip()
78 Elf32_Shdr* sh = elf_file->GetSectionHeader(i); in Strip()
102 Elf32_Shdr& new_sh = section_headers[i]; in Strip()
103 Elf32_Shdr* old_sh = elf_file->GetSectionHeader(section_headers_original_indexes[i]); in Strip()
123 size_t section_headers_size_in_bytes = section_headers.size() * sizeof(Elf32_Shdr); in Strip()
Delf_fixup.cc88 Elf32_Shdr* sh = elf_file.GetSectionHeader(i); in FixupSectionHeaders()
128 Elf32_Shdr* symbol_section = elf_file.FindSectionByType(section_type); in FixupSymbols()
151 Elf32_Shdr* sh = elf_file.GetSectionHeader(i); in FixupRelocations()
Delf_writer_quick.cc34 static constexpr Elf32_Word NextOffset(const Elf32_Shdr& cur, const Elf32_Shdr& prev) { in NextOffset()
319 std::vector<Elf32_Shdr*> section_ptrs; in Write()
324 Elf32_Shdr null_hdr; in Write()
447 Elf32_Shdr prev = dynamic_builder_.section_; in Write()
594 Elf32_Word cur_off = sections_offset + i * sizeof(Elf32_Shdr); in Write()
596 section_ptrs[i], sizeof(Elf32_Shdr))); in Write()
827 elf_header_.e_shentsize = sizeof(Elf32_Shdr); in SetupEhdr()
Delf_patcher.cc62 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in Patch()
281 Elf32_Shdr* shdr = elf_file_->FindSectionByName(".oat_patches"); in WriteOutPatchData()
Delf_writer_quick.h72 Elf32_Shdr section_;
Dimage_writer.cc1229 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in GetOatHeaderFromElf()
/art/patchoat/
Dpatchoat.cc608 Elf32_Shdr* patches_sec = oat_file_->FindSectionByName(".oat_patches"); in CheckOatFile()
617 Elf32_Shdr* oat_data_sec = oat_file_->FindSectionByName(".rodata"); in CheckOatFile()
618 Elf32_Shdr* oat_text_sec = oat_file_->FindSectionByName(".text"); in CheckOatFile()
639 Elf32_Shdr *rodata_sec = oat_file_->FindSectionByName(".rodata"); in PatchOatHeader()
684 Elf32_Shdr* hdr = oat_file_->GetSectionHeader(i); in PatchElf()
701 Elf32_Shdr* dynsym_sec = oat_file_->FindSectionByName(".dynsym"); in PatchElf()
708 Elf32_Shdr* symtab_sec = oat_file_->FindSectionByName(".symtab"); in PatchElf()
718 bool PatchOat::PatchSymbols(Elf32_Shdr* section) { in PatchSymbols()
737 Elf32_Shdr* patches_sec = oat_file_->FindSectionByName(".oat_patches"); in PatchTextSection()
746 Elf32_Shdr* oat_text_sec = oat_file_->FindSectionByName(".text"); in PatchTextSection()
Dpatchoat.h112 bool PatchSymbols(Elf32_Shdr* section);