Searched defs:oat_header (Results 1 - 6 of 6) sorted by relevance
/art/compiler/ |
H A D | oat_test.cc | 128 const OatHeader& oat_header = oat_file->GetOatHeader(); local 129 ASSERT_TRUE(oat_header.IsValid()); 130 ASSERT_EQ(1U, oat_header.GetDexFileCount()); // core 131 ASSERT_EQ(42U, oat_header.GetImageFileLocationOatChecksum()); 132 ASSERT_EQ(4096U, oat_header.GetImageFileLocationOatDataBegin()); 133 ASSERT_EQ("lue.art", std::string(oat_header.GetStoreValueByKey(OatHeader::kImageLocationKey))); 198 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, 204 ASSERT_NE(oat_header.get(), nullptr); 205 ASSERT_TRUE(oat_header->IsValid()); 207 char* magic = const_cast<char*>(oat_header [all...] |
H A D | image_writer.cc | 1466 OatHeader* oat_header = GetOatHeaderFromElf(elf.get()); local 1467 CHECK(oat_header != nullptr); 1468 CHECK(oat_header->IsValid()); 1471 image_header->SetOatChecksum(oat_header->GetChecksum());
|
/art/runtime/ |
H A D | oat_file_assistant_test.cc | 720 const OatHeader& oat_header = oat_file->GetOatHeader(); local 722 EXPECT_EQ(image_header.GetOatChecksum(), oat_header.GetImageFileLocationOatChecksum()); 724 oat_header.GetImageFileLocationOatDataBegin()); 725 EXPECT_NE(image_header.GetPatchDelta(), oat_header.GetImagePatchDelta());
|
H A D | oat_file_assistant.cc | 475 const OatHeader& oat_header = file.GetOatHeader(); local 476 uintptr_t oat_data_begin = oat_header.GetImageFileLocationOatDataBegin(); 487 int32_t oat_patch_delta = oat_header.GetImagePatchDelta();
|
/art/patchoat/ |
H A D | patchoat.cc | 366 const OatHeader* oat_header = GetOatHeader(oat_in); local 367 if (oat_header == nullptr) { 372 if (!oat_header->IsValid()) { 377 bool is_pic = oat_header->IsPic(); 581 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf_file->Begin() + rodata_sec->sh_offset); local 582 return oat_header; 708 OatHeader* oat_header = reinterpret_cast<OatHeader*>(oat_file->Begin() + rodata_sec->sh_offset); local 709 if (!oat_header->IsValid()) { 713 oat_header->RelocateOat(delta_);
|
/art/oatdump/ |
H A D | oatdump.cc | 372 const OatHeader& oat_header = oat_file_.GetOatHeader(); local 375 os << oat_header.GetMagic() << "\n\n"; 378 os << StringPrintf("0x%08x\n\n", oat_header.GetChecksum()); 381 os << oat_header.GetInstructionSet() << "\n\n"; 385 InstructionSetFeatures::FromBitmap(oat_header.GetInstructionSet(), 386 oat_header.GetInstructionSetFeaturesBitmap())); 392 os << oat_header.GetDexFileCount() << "\n\n"; 396 os << StringPrintf("0x%08x", oat_header.offset()); \ 397 if (oat_header.offset() != 0 && options_.absolute_addresses_) { \ 398 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header [all...] |
Completed in 744 milliseconds