Lines Matching refs:elf_file_
137 CHECK_GE(ret, reinterpret_cast<uintptr_t>(elf_file_->Begin()));
138 CHECK_LT(ret, reinterpret_cast<uintptr_t>(elf_file_->End()));
281 Elf32_Shdr* shdr = elf_file_->FindSectionByName(".oat_patches");
283 CHECK_EQ(shdr, elf_file_->FindSectionByType(SHT_OAT_PATCH))
287 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size,
288 reinterpret_cast<uintptr_t>(elf_file_->End())) << "section is too large";
289 CHECK(shdr == elf_file_->GetSectionHeader(elf_file_->GetSectionHeaderNum() - 1) ||
293 memcpy(elf_file_->Begin() + shdr->sh_offset, patches_.data(),
303 *error_msg_ += elf_file_->GetFile().GetPath();