diff options
-rw-r--r-- | tools/veridex/flow_analysis.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/veridex/flow_analysis.cc b/tools/veridex/flow_analysis.cc index 2a8b8a0522..6a4d3514d3 100644 --- a/tools/veridex/flow_analysis.cc +++ b/tools/veridex/flow_analysis.cc @@ -540,7 +540,7 @@ void VeriFlowAnalysis::ProcessDexInstruction(const Instruction& instruction) { case Instruction::FILLED_NEW_ARRAY: { dex::TypeIndex type_index(instruction.VRegB_35c()); VeriClass* cls = resolver_->GetVeriClass(type_index); - UpdateRegister(instruction.VRegA_22c(), cls); + UpdateRegister(instruction.VRegA_35c(), cls); break; } @@ -602,7 +602,7 @@ void VeriFlowAnalysis::ProcessDexInstruction(const Instruction& instruction) { if (VeriClass::sdkInt_ != nullptr && resolver_->GetField(field_index) == VeriClass::sdkInt_) { UpdateRegister(dest_reg, gTargetSdkVersion, VeriClass::integer_); } else { - UpdateRegister(dest_reg, GetFieldType(instruction.VRegC_22c())); + UpdateRegister(dest_reg, GetFieldType(field_index)); } break; } |