Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 3 of 3) sorted by relevance

/art/patchoat/
Dpatchoat.cc666 Elf32_Phdr* hdr = oat_file_->GetProgramHeader(i); in PatchElf() local
667 CHECK(hdr != nullptr); in PatchElf()
668 if (hdr->p_vaddr != 0 && hdr->p_vaddr != hdr->p_offset) { in PatchElf()
670 hdr->p_vaddr += delta_; in PatchElf()
672 if (hdr->p_paddr != 0 && hdr->p_paddr != hdr->p_offset) { in PatchElf()
674 hdr->p_paddr += delta_; in PatchElf()
684 Elf32_Shdr* hdr = oat_file_->GetSectionHeader(i); in PatchElf() local
685 CHECK(hdr != nullptr); in PatchElf()
686 if (hdr->sh_addr != 0) { in PatchElf()
687 hdr->sh_addr += delta_; in PatchElf()
[all …]
/art/runtime/
Doat_file.cc50 Elf32_Shdr* hdr = elf_file->FindSectionByName(".rodata"); in OpenWithElfFile() local
51 oat_file->begin_ = elf_file->Begin() + hdr->sh_offset; in OpenWithElfFile()
52 oat_file->end_ = elf_file->Begin() + hdr->sh_size + hdr->sh_offset; in OpenWithElfFile()
/art/runtime/gc/space/
Dimage_space.cc298 std::unique_ptr<ImageHeader> hdr(new ImageHeader); in ReadSpecificImageHeader() local
299 if (!ReadSpecificImageHeader(filename, hdr.get())) { in ReadSpecificImageHeader()
303 return hdr.release(); in ReadSpecificImageHeader()