Home | History | Annotate | Download | only in verifier

Lines Matching refs:dex_file_

338       dex_file_(dex_file),
518 ClassReference ref(dex_file_, dex_file_->GetIndexForClassDef(*class_def_));
526 std::string location(StringPrintf("%s: [0x%X] ", PrettyMethod(dex_method_idx_, *dex_file_).c_str(),
534 return info_messages_ << "VFY: " << PrettyMethod(dex_method_idx_, *dex_file_)
645 mirror::Class* exception_type = linker->ResolveType(*dex_file_,
801 if (idx >= dex_file_->GetHeader().field_ids_size_) {
803 << dex_file_->GetHeader().field_ids_size_ << ")";
810 if (idx >= dex_file_->GetHeader().method_ids_size_) {
812 << dex_file_->GetHeader().method_ids_size_ << ")";
819 if (idx >= dex_file_->GetHeader().type_ids_size_) {
821 << dex_file_->GetHeader().type_ids_size_ << ")";
825 const char* descriptor = dex_file_->StringByTypeIdx(idx);
834 if (idx >= dex_file_->GetHeader().string_ids_size_) {
836 << dex_file_->GetHeader().string_ids_size_ << ")";
843 if (idx >= dex_file_->GetHeader().type_ids_size_) {
845 << dex_file_->GetHeader().type_ids_size_ << ")";
852 if (idx >= dex_file_->GetHeader().type_ids_size_) {
854 << dex_file_->GetHeader().type_ids_size_ << ")";
858 const char* descriptor = dex_file_->StringByTypeIdx(idx);
1119 prepend += PrettyMethod(dex_method_idx_, *dex_file_);
1170 indent_os << inst->DumpString(dex_file_) << "\n";
1214 dex_file_->GetMethodPrototype(dex_file_->GetMethodId(dex_method_idx_));
1215 DexFileParameterIterator iterator(*dex_file_, proto_id);
1287 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id);
1368 LOG(FATAL) << "work_line diverged in " << PrettyMethod(dex_method_idx_, *dex_file_)
1376 std::string prepend(PrettyMethod(dex_method_idx_, *dex_file_));
1426 // if (PrettyMethod(dex_method_idx_, *dex_file_) ==
1472 LogVerifyInfo() << "Processing " << inst->DumpString(dex_file_) << "\n"
1764 << dex_file_->StringByTypeIdx(type_idx) << " in instanceof in "
2245 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx);
2246 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2247 const char* descriptor = dex_file_->StringByTypeIdx(return_type_idx);
2268 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx);
2269 is_constructor = strcmp("<init>", dex_file_->StringDataByIdx(method_id.name_idx_)) == 0;
2270 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2271 return_type_descriptor = dex_file_->StringByTypeIdx(return_type_idx);
2351 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx);
2352 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2353 descriptor = dex_file_->StringByTypeIdx(return_type_idx);
2409 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx);
2410 uint32_t return_type_idx = dex_file_->GetProtoId(method_id.proto_idx_).return_type_idx_;
2411 descriptor = dex_file_->StringByTypeIdx(return_type_idx);
2723 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "Unexpected opcode " << inst->DumpString(dex_file_);
2738 info_messages_ << "Rejecting opcode " << inst->DumpString(dex_file_);
2847 mirror::Class* klass = linker->ResolveType(*dex_file_, handler_type_idx, *dex_cache_,
2966 const char* descriptor = dex_file_->StringByTypeIdx(class_idx);
3043 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx);
3047 append += dex_file_->GetMethodName(method_id);
3058 const char* name = dex_file_->GetMethodName(method_id);
3059 const Signature signature = dex_file_->GetMethodSignature(method_id);
3176 if (strcmp(dex_file_->GetMethodName(dex_file_->GetMethodId(method_idx)), "<init>") != 0) {
3191 const uint16_t class_idx = dex_file_->GetMethodId(method_idx).class_idx_;
3193 dex_file_->StringByTypeIdx(class_idx),
3260 DexFileParameterIterator it(*dex_file_,
3261 dex_file_->GetProtoId(dex_file_->GetMethodId(method_idx).proto_idx_));
3316 << PrettyMethod(dex_method_idx_, *dex_file_)
3323 << PrettyMethod(dex_method_idx_, *dex_file_)
3659 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx);
3664 field_idx, dex_file_->GetFieldName(field_id),
3665 dex_file_->GetFieldDeclaringClassDescriptor(field_id)));
3672 mirror::ArtField* field = class_linker->ResolveFieldJLS(*dex_file_, field_idx, *dex_cache_,
3676 << dex_file_->GetFieldName(field_id) << ") in "
3677 << dex_file_->GetFieldDeclaringClassDescriptor(field_id);
3694 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx);
3699 field_idx, dex_file_->GetFieldName(field_id),
3700 dex_file_->GetFieldDeclaringClassDescriptor(field_id)));
3707 mirror::ArtField* field = class_linker->ResolveFieldJLS(*dex_file_, field_idx, *dex_cache_,
3711 << dex_file_->GetFieldName(field_id) << ") in "
3712 << dex_file_->GetFieldDeclaringClassDescriptor(field_id);
3736 reg_types_.FromClass(dex_file_->GetFieldDeclaringClassDescriptor(field_id),
3745 << " of " << PrettyMethod(dex_method_idx_, *dex_file_);
3800 const DexFile::FieldId& field_id = dex_file_->GetFieldId(field_idx);
3801 const char* descriptor = dex_file_->GetFieldTypeDescriptor(field_id);
4108 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
4109 const DexFile::ProtoId& proto_id = dex_file_->GetMethodPrototype(method_id);
4111 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(return_type_idx));
4120 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
4122 = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(method_id.class_idx_));