Searched refs:data_sec (Results 1 – 2 of 2) sorted by relevance
62 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in Patch() local63 if (data_sec == nullptr) { in Patch()67 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); in Patch()
816 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in GetOatHeaderFromElf() local817 if (data_sec == nullptr) { in GetOatHeaderFromElf()820 return reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); in GetOatHeaderFromElf()