Skip to content

Commit

Permalink
Fix off by error for operand selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Apr 13, 2023
1 parent e60d04b commit 599ca62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ARM/ARMMapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ static void add_cs_detail_template_1(MCInst *MI, arm_op_group op_group, unsigned
int32_t Imm = ARM_get_op_val(MI, OpNum + 1);
if (Imm == INT32_MIN)
Imm = 0;
ARM_set_detail_op_mem(MI, OpNum, false, 0, 0, Imm);
ARM_set_detail_op_mem(MI, OpNum + 1, false, 0, 0, Imm);
set_mem_access(MI, false);
break;
}
Expand Down

0 comments on commit 599ca62

Please sign in to comment.