Home
last modified time | relevance | path

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

/art/patchoat/
Dpatchoat.cc483 Elf32_Shdr* oat_text_sec = oat_file_->FindSectionByName(".text"); in CheckOatFile() local
487 if (oat_text_sec == nullptr) { in CheckOatFile()
490 if (oat_text_sec->sh_offset <= oat_data_sec->sh_offset) { in CheckOatFile()
495 if (oat_text_sec->sh_size <= *patches) { in CheckOatFile()
611 Elf32_Shdr* oat_text_sec = oat_file_->FindSectionByName(".text"); in PatchTextSection() local
612 CHECK(oat_text_sec != nullptr); in PatchTextSection()
613 byte* to_patch = oat_file_->Begin() + oat_text_sec->sh_offset; in PatchTextSection()
614 uintptr_t to_patch_end = reinterpret_cast<uintptr_t>(to_patch) + oat_text_sec->sh_size; in PatchTextSection()
617 CHECK_LT(*patches, oat_text_sec->sh_size) << "Bad Patch"; in PatchTextSection()