Lines Matching refs:oat_file_
134 oat_file_(oat_file), in OatSymbolizer()
141 const InstructionSet isa = oat_file_->GetOatHeader().GetInstructionSet(); in Symbolize()
143 isa, oat_file_->GetOatHeader().GetInstructionSetFeaturesBitmap()); in Symbolize()
159 const uint8_t* rodata_begin = oat_file_->Begin(); in Symbolize()
160 const size_t rodata_size = oat_file_->GetOatHeader().GetExecutableOffset(); in Symbolize()
167 const uint8_t* text_begin = oat_file_->Begin() + rodata_size; in Symbolize()
168 const size_t text_size = oat_file_->End() - text_begin; in Symbolize()
178 oat_file_->DataBimgRelRoSize(), in Symbolize()
179 oat_file_->BssSize(), in Symbolize()
180 oat_file_->BssMethodsOffset(), in Symbolize()
181 oat_file_->BssRootsOffset(), in Symbolize()
182 oat_file_->VdexSize()); in Symbolize()
185 const OatHeader& oat_header = oat_file_->GetOatHeader(); in Symbolize()
234 std::vector<const OatDexFile*> oat_dex_files = oat_file_->GetOatDexFiles(); in Walk()
294 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod()
326 const OatFile* oat_file_; member in art::OatSymbolizer
383 : oat_file_(oat_file), in OatDumper()
387 instruction_set_(oat_file_.GetOatHeader().GetInstructionSet()), in OatDumper()
415 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
421 os << oat_file_.GetLocation() << "\n\n"; in Dump()
444 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \ in Dump()
478 os << reinterpret_cast<const void*>(oat_file_.Begin()) << "\n\n"; in Dump()
481 os << reinterpret_cast<const void*>(oat_file_.End()) << "\n\n"; in Dump()
485 os << oat_file_.Size() << "\n\n"; in Dump()
501 if (oat_file_.GetBssMethods().empty() && oat_file_.GetBssGcRoots().empty()) { in Dump()
504 os << oat_file_.GetBssMethods().size() << " methods, "; in Dump()
505 os << oat_file_.GetBssGcRoots().size() << " GC roots.\n\n"; in Dump()
555 VdexFile::VerifierDepsHeader vdex_header = oat_file_.GetVdexFile()->GetVerifierDepsHeader(); in Dump()
568 if (!deps.ParseStoredData(dex_files, oat_file_.GetVdexFile()->GetVerifierDepsData())) { in Dump()
593 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation()); in Dump()
681 stats_.AddBytes(oat_file_.Size()); in Dump()
690 if (reinterpret_cast<const uint8_t*>(oat_data) < oat_file_.Begin() || in ComputeSize()
691 reinterpret_cast<const uint8_t*>(oat_data) > oat_file_.End()) { in ComputeSize()
695 reinterpret_cast<uintptr_t>(oat_file_.Begin()); in ComputeSize()
703 return oat_file_.GetOatHeader().GetInstructionSet(); in GetOatInstructionSet()
866 offsets_.insert(oat_file_.Size()); in AddAllOffsets()
875 if (oat_file_.GetOatHeader().GetInstructionSet() == InstructionSet::kThumb2) { in AddOffsets()
1176 if (oat_method_offsets_offset > oat_file_.Size()) { in DumpOatMethod()
1179 oat_method_offsets_offset, oat_file_.Size()); in DumpOatMethod()
1188 if (aligned_code_begin > oat_file_.Size()) { in DumpOatMethod()
1191 aligned_code_begin, oat_file_.Size()); in DumpOatMethod()
1207 if (method_header_offset > oat_file_.Size()) { in DumpOatMethod()
1210 method_header_offset, oat_file_.Size()); in DumpOatMethod()
1227 ? oat_file_.GetVdexFile()->Size() in DumpOatMethod()
1228 : method_header->GetCode() - oat_file_.Begin(); in DumpOatMethod()
1264 if (code_size_offset > oat_file_.Size()) { in DumpOatMethod()
1268 code_size_offset, oat_file_.Size()); in DumpOatMethod()
1288 if (aligned_code_begin > oat_file_.Size()) { in DumpOatMethod()
1291 aligned_code_begin, oat_file_.Size()); in DumpOatMethod()
1293 } else if (aligned_code_end > oat_file_.Size()) { in DumpOatMethod()
1298 aligned_code_end, oat_file_.Size(), in DumpOatMethod()
1302 if (code_size_offset + kPrologueBytes <= oat_file_.Size()) { in DumpOatMethod()
1315 if (code_size_offset + kPrologueBytes <= oat_file_.Size()) { in DumpOatMethod()
1675 if (oat_file_.GetBootImageRelocations().empty()) { in DumpDataBimgRelRoEntries()
1680 os << oat_file_.GetBootImageRelocations().size() << " entries.\n"; in DumpDataBimgRelRoEntries()
1689 for (const uint32_t& object_offset : oat_file_.GetBootImageRelocations()) { in DumpDataBimgRelRoEntries()
1690 uint32_t entry_index = &object_offset - oat_file_.GetBootImageRelocations().data(); in DumpDataBimgRelRoEntries()
1691 uint32_t entry_offset = entry_index * sizeof(oat_file_.GetBootImageRelocations()[0]); in DumpDataBimgRelRoEntries()
1735 for (const uint32_t& object_offset : oat_file_.GetBootImageRelocations()) { in DumpDataBimgRelRoEntries()
1736 uint32_t entry_index = &object_offset - oat_file_.GetBootImageRelocations().data(); in DumpDataBimgRelRoEntries()
1737 uint32_t entry_offset = entry_index * sizeof(oat_file_.GetBootImageRelocations()[0]); in DumpDataBimgRelRoEntries()
1778 const OatFile& oat_file_; member in art::OatDumper