Home
last modified time | relevance | path

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

/art/runtime/
Dvdex_file.cc250 const verifier::VerifierDeps& verifier_deps, in WriteToDisk() argument
253 verifier_deps.Encode(dex_files, &verifier_deps_data); in WriteToDisk()
395 const uint8_t* verifier_deps) { in GetStringFromId() argument
402 return reinterpret_cast<const char*>(verifier_deps) + offset; in GetStringFromId()
408 static const uint32_t* GetDexFileClassDefs(const uint8_t* verifier_deps, uint32_t index) { in GetDexFileClassDefs() argument
409 uint32_t dex_file_offset = reinterpret_cast<const uint32_t*>(verifier_deps)[index]; in GetDexFileClassDefs()
410 return reinterpret_cast<const uint32_t*>(verifier_deps + dex_file_offset); in GetDexFileClassDefs()
415 const uint8_t* verifier_deps, in GetExtraStringsOffsets() argument
422 AlignUp(verifier_deps + end_of_assignability_types, sizeof(uint32_t)); in GetExtraStringsOffsets()
443 const uint8_t* verifier_deps = GetVerifierDepsData().data(); in ComputeClassStatus() local
[all …]
Daot_class_linker.h55 verifier::VerifierDeps* verifier_deps,
Daot_class_linker.cc108 verifier::VerifierDeps* verifier_deps, in PerformClassVerification() argument
130 return ClassLinker::PerformClassVerification(self, verifier_deps, klass, log_level, error_msg); in PerformClassVerification()
Dthread.h1103 return tlsPtr_.deps_or_stack_trace_sample.verifier_deps; in GetVerifierDeps()
1109 void SetVerifierDeps(verifier::VerifierDeps* verifier_deps) { in SetVerifierDeps() argument
1111 DCHECK(verifier_deps == nullptr || tlsPtr_.deps_or_stack_trace_sample.verifier_deps == nullptr); in SetVerifierDeps()
1112 tlsPtr_.deps_or_stack_trace_sample.verifier_deps = verifier_deps; in SetVerifierDeps()
1749 verifier_deps = nullptr; in PACKED()
1755 verifier::VerifierDeps* verifier_deps; in PACKED() member
Doat_file_manager.cc638 verifier::VerifierDeps verifier_deps(dex_files_); in Run() local
669 class_linker->VerifyClass(self, &verifier_deps, h_class); in Run()
680 verifier_deps.RecordClassVerified(*dex_file, class_def); in Run()
694 verifier_deps, in Run()
Dvdex_file.h294 const verifier::VerifierDeps& verifier_deps,
Dclass_linker.h565 verifier::VerifierDeps* verifier_deps,
859 verifier::VerifierDeps* verifier_deps,
891 verifier::VerifierDeps* verifier_deps,
Dclass_linker.cc4495 verifier::VerifierDeps* verifier_deps, in AttemptSupertypeVerification() argument
4503 VerifyClass(self, verifier_deps, supertype); in AttemptSupertypeVerification()
4541 verifier::VerifierDeps* verifier_deps, in VerifyClass() argument
4572 if (verifier_deps != nullptr && in VerifyClass()
4573 verifier_deps->ContainsDexFile(klass->GetDexFile()) && in VerifyClass()
4574 !verifier_deps->HasRecordedVerifiedStatus(klass->GetDexFile(), *klass->GetClassDef()) && in VerifyClass()
4583 PerformClassVerification(self, verifier_deps, klass, log_level, &error_msg); in VerifyClass()
4628 !AttemptSupertypeVerification(self, verifier_deps, klass, supertype)) { in VerifyClass()
4654 } else if (UNLIKELY(!AttemptSupertypeVerification(self, verifier_deps, klass, iface))) { in VerifyClass()
4694 verifier_failure = PerformClassVerification(self, verifier_deps, klass, log_level, &error_msg); in VerifyClass()
[all …]
DAndroid.bp258 "verifier/verifier_deps.cc",
/art/runtime/verifier/
Dclass_verifier.h69 VerifierDeps* verifier_deps,
78 VerifierDeps* verifier_deps,
98 VerifierDeps* verifier_deps,
109 VerifierDeps* verifier_deps,
Dclass_verifier.cc132 VerifierDeps* verifier_deps, in VerifyClass() argument
144 verifier_deps, in VerifyClass()
155 VerifierDeps* verifier_deps, in CommonVerifyClass() argument
191 verifier_deps, in CommonVerifyClass()
206 VerifierDeps* verifier_deps, in VerifyClass() argument
218 verifier_deps, in VerifyClass()
232 VerifierDeps* verifier_deps, in VerifyClass() argument
284 verifier_deps, in VerifyClass()
Dmethod_verifier.h227 VerifierDeps* verifier_deps,
262 VerifierDeps* verifier_deps,
285 VerifierDeps* verifier_deps,
310 VerifierDeps* verifier_deps,
Dverifier_deps.h83 static void MaybeRecordVerificationStatus(VerifierDeps* verifier_deps,
92 static void MaybeRecordAssignability(VerifierDeps* verifier_deps,
102 static void MaybeRecordAssignability(VerifierDeps* verifier_deps,
Dverifier_deps.cc281 void VerifierDeps::MaybeRecordVerificationStatus(VerifierDeps* verifier_deps, in MaybeRecordVerificationStatus() argument
285 if (verifier_deps != nullptr) { in MaybeRecordVerificationStatus()
290 DexFileDeps* dex_deps = verifier_deps->GetDexFileDeps(dex_file); in MaybeRecordVerificationStatus()
298 verifier_deps->RecordClassVerified(dex_file, class_def); in MaybeRecordVerificationStatus()
318 void VerifierDeps::MaybeRecordAssignability(VerifierDeps* verifier_deps, in MaybeRecordAssignability() argument
323 if (verifier_deps != nullptr) { in MaybeRecordAssignability()
324 verifier_deps->AddAssignability(dex_file, class_def, destination, source); in MaybeRecordAssignability()
328 void VerifierDeps::MaybeRecordAssignability(VerifierDeps* verifier_deps, in MaybeRecordAssignability() argument
333 if (verifier_deps != nullptr) { in MaybeRecordAssignability()
334 verifier_deps->AddAssignability(dex_file, class_def, destination, source); in MaybeRecordAssignability()
Dmethod_verifier.cc156 VerifierDeps* verifier_deps, in MethodVerifier() argument
176 verifier_deps, in MethodVerifier()
4997 VerifierDeps* verifier_deps, in MethodVerifier() argument
5022 verifier_deps_(verifier_deps),
5035 VerifierDeps* verifier_deps, in VerifyMethod() argument
5056 verifier_deps, in VerifyMethod()
5077 verifier_deps, in VerifyMethod()
5117 VerifierDeps* verifier_deps, in VerifyMethod() argument
5140 verifier_deps, in VerifyMethod()
5398 VerifierDeps* verifier_deps, in CreateVerifier() argument
[all …]
/art/dex2oat/
Dverifier_deps_test.cc86 void VerifyWithCompilerDriver(verifier::VerifierDeps* verifier_deps) { in VerifyWithCompilerDriver() argument
90 if (verifier_deps == nullptr) { in VerifyWithCompilerDriver()
92 verifier_deps = new verifier::VerifierDeps(dex_files_); in VerifyWithCompilerDriver()
93 verifier_deps_.reset(verifier_deps); in VerifyWithCompilerDriver()
95 callbacks_->SetVerifierDeps(verifier_deps); in VerifyWithCompilerDriver()
Ddex2oat.cc1730 std::unique_ptr<verifier::VerifierDeps> verifier_deps( in Setup() local
1732 if (!verifier_deps->ParseStoredData(dex_files, input_vdex_file_->GetVerifierDepsData())) { in Setup()
1735 callbacks_->SetVerifierDeps(verifier_deps.release()); in Setup()
2098 verifier::VerifierDeps* verifier_deps = callbacks_->GetVerifierDeps(); in WriteOutputFiles() local
2101 if (!oat_writers_[i]->FinishVdexFile(vdex_file, verifier_deps)) { in WriteOutputFiles()
/art/dex2oat/linker/
Doat_writer.h176 bool FinishVdexFile(File* vdex_file, verifier::VerifierDeps* verifier_deps);
301 void WriteVerifierDeps(verifier::VerifierDeps* verifier_deps,
Doat_writer.cc2520 void OatWriter::WriteVerifierDeps(verifier::VerifierDeps* verifier_deps, in WriteVerifierDeps() argument
2522 if (verifier_deps == nullptr) { in WriteVerifierDeps()
2532 verifier_deps->Encode(*dex_files_, buffer); in WriteVerifierDeps()
3692 bool OatWriter::FinishVdexFile(File* vdex_file, verifier::VerifierDeps* verifier_deps) { in FinishVdexFile() argument
3696 WriteVerifierDeps(verifier_deps, &buffer); in FinishVdexFile()
/art/dex2oat/driver/
Dcompiler_driver.cc1738 verifier::VerifierDeps* verifier_deps = in FastVerify() local
1741 if (verifier_deps == nullptr || verifier_deps->OutputOnly()) { in FastVerify()
1752 if (!verifier_deps->ValidateDependencies( in FastVerify()
1771 const std::vector<bool>& verified_classes = verifier_deps->GetVerifiedClasses(*dex_file); in FastVerify()
1826 verifier::VerifierDeps* verifier_deps = in Verify() local
1828 CHECK(verifier_deps != nullptr); in Verify()
1829 Thread::Current()->SetVerifierDeps(verifier_deps); in Verify()
1855 verifier::VerifierDeps* verifier_deps = Thread::Current()->GetVerifierDeps(); in Verify() local
1859 verifier_deps->MergeWith(std::move(thread_deps), in Verify()