Searched refs:hdr (Results 1 – 3 of 3) sorted by relevance
666 Elf32_Phdr* hdr = oat_file_->GetProgramHeader(i); in PatchElf() local667 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() local685 CHECK(hdr != nullptr); in PatchElf()686 if (hdr->sh_addr != 0) { in PatchElf()687 hdr->sh_addr += delta_; in PatchElf()[all …]
50 Elf32_Shdr* hdr = elf_file->FindSectionByName(".rodata"); in OpenWithElfFile() local51 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()
298 std::unique_ptr<ImageHeader> hdr(new ImageHeader); in ReadSpecificImageHeader() local299 if (!ReadSpecificImageHeader(filename, hdr.get())) { in ReadSpecificImageHeader()303 return hdr.release(); in ReadSpecificImageHeader()