-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM T2 encoding lsl #imm bug #265
Comments
On Sat, Feb 14, 2015 at 11:09 PM, PZ Read notifications@github.com wrote:
can you provide the input (hexcode) that triggers the problem, so i can thanks. |
sorry, I forget it |
this issue was fixed in the this fix will not be ported back to 3.x version because it breaks the API, so please use the thanks. |
Hi,
Capstone correctly outputs this T2 encoding instruction (thumb mode, detail enabled
But the
<cs_arm_op>.mem.shift.type
of the second operand = ARM_SFT_INVALID, which is wrong.I found that in
printT2AddrModeSoRegOperand
atarch/ARM/ARMInstPrinter.c
It seems like
MI->flat_insn->detail->arm.op_count - 1
should beMI->flat_insn->detail->arm.op_count
The text was updated successfully, but these errors were encountered: