Home
last modified time | relevance | path

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

/art/patchoat/
Dpatchoat.cc608 Elf32_Shdr* patches_sec = oat_file_->FindSectionByName(".oat_patches"); in CheckOatFile() local
609 if (patches_sec == nullptr) { in CheckOatFile()
612 if (patches_sec->sh_type != SHT_OAT_PATCH) { in CheckOatFile()
615 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); in CheckOatFile()
616 uintptr_t* patches_end = patches + (patches_sec->sh_size/sizeof(uintptr_t)); in CheckOatFile()
737 Elf32_Shdr* patches_sec = oat_file_->FindSectionByName(".oat_patches"); in PatchTextSection() local
738 if (patches_sec == nullptr) { in PatchTextSection()
743 CHECK_EQ(patches_sec->sh_type, SHT_OAT_PATCH) << "Unexpected type of .oat_patches"; in PatchTextSection()
744 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); in PatchTextSection()
745 uintptr_t* patches_end = patches + (patches_sec->sh_size/sizeof(uintptr_t)); in PatchTextSection()