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