Searched refs:oat_header (Results 1 - 9 of 9) sorted by relevance

/art/compiler/debug/
H A Delf_debug_writer.h61 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& oat_header);
/art/compiler/
H A Doat_test.cc386 const OatHeader& oat_header = oat_file->GetOatHeader(); local
387 ASSERT_TRUE(oat_header.IsValid());
388 ASSERT_EQ(class_linker->GetBootClassPath().size(), oat_header.GetDexFileCount()); // core
389 ASSERT_EQ(42U, oat_header.GetImageFileLocationOatChecksum());
390 ASSERT_EQ(4096U, oat_header.GetImageFileLocationOatDataBegin());
391 ASSERT_EQ("lue.art", std::string(oat_header.GetStoreValueByKey(OatHeader::kImageLocationKey)));
456 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set,
460 ASSERT_NE(oat_header.get(), nullptr);
461 ASSERT_TRUE(oat_header->IsValid());
463 char* magic = const_cast<char*>(oat_header
[all...]
H A Dimage_writer.cc2414 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { argument
2416 cur_image_info.oat_checksum_ = oat_header.GetChecksum();
2421 oat_header.GetInterpreterToInterpreterBridgeOffset();
2423 oat_header.GetInterpreterToCompiledCodeBridgeOffset();
2425 oat_header.GetJniDlsymLookupOffset();
2427 oat_header.GetQuickGenericJniTrampolineOffset();
2429 oat_header.GetQuickImtConflictTrampolineOffset();
2431 oat_header.GetQuickResolutionTrampolineOffset();
2433 oat_header.GetQuickToInterpreterBridgeOffset();
H A Dimage_writer.h144 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
H A Doat_writer.cc68 ChecksumUpdatingOutputStream(OutputStream* out, OatHeader* oat_header) argument
69 : OutputStream(out->GetLocation()), out_(out), oat_header_(oat_header) { }
/art/patchoat/
H A Dpatchoat.cc101 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf_file->Begin() + off); local
102 return oat_header;
108 const OatHeader* oat_header = GetOatHeader(elf_file); local
109 if (oat_header == nullptr) {
113 if (!oat_header->IsValid()) {
117 *delta = oat_header->GetImagePatchDelta();
406 const OatHeader* oat_header = GetOatHeader(oat_in); local
407 if (oat_header == nullptr) {
412 if (!oat_header->IsValid()) {
417 bool is_pic = oat_header
805 OatHeader* oat_header = reinterpret_cast<OatHeader*>(oat_file->Begin() + rodata_sec->sh_offset); local
[all...]
/art/oatdump/
H A Doatdump.cc241 const OatHeader& oat_header = oat_file_->GetOatHeader(); local
248 uint32_t entry_point = oat_method.GetCodeOffset() - oat_header.GetExecutableOffset();
259 info.isa = oat_header.GetInstructionSet();
261 info.is_native_debuggable = oat_header.IsNativeDebuggable();
356 const OatHeader& oat_header = oat_file_.GetOatHeader(); local
359 os << oat_header.GetMagic() << "\n\n";
365 os << StringPrintf("0x%08x\n\n", oat_header.GetChecksum());
368 os << oat_header.GetInstructionSet() << "\n\n";
372 InstructionSetFeatures::FromBitmap(oat_header.GetInstructionSet(),
373 oat_header
[all...]
/art/runtime/
H A Doat_file_assistant.cc590 const OatHeader& oat_header = file.GetOatHeader(); local
591 uintptr_t oat_data_begin = oat_header.GetImageFileLocationOatDataBegin();
602 int32_t oat_patch_delta = oat_header.GetImagePatchDelta();
H A Doat_file_assistant_test.cc133 const OatHeader& oat_header = odex_file->GetOatHeader(); local
135 EXPECT_EQ(combined_checksum, oat_header.GetImageFileLocationOatChecksum());
137 oat_header.GetImageFileLocationOatDataBegin());
138 EXPECT_NE(image_header.GetPatchDelta(), oat_header.GetImagePatchDelta());

Completed in 225 milliseconds