Skip to content

Commit

Permalink
Add forgotten check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Jul 22, 2023
1 parent 9153bb3 commit 40e5c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/ARM/ARMMapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,8 @@ static void add_cs_detail_general(MCInst *MI, arm_op_group op_group,
return;
}
ARM_get_detail(MI)->cc = CC;
map_add_implicit_read(MI, ARM_REG_CPSR);
if (CC != ARMCC_AL)
map_add_implicit_read(MI, ARM_REG_CPSR);
break;
}
case ARM_OP_GROUP_VPTPredicateOperand: {
Expand Down

0 comments on commit 40e5c08

Please sign in to comment.