-
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
'subtracted' flag is set incorrectly #695
Comments
Also happens for strh (0xe1e530b2). |
your code is not properly formatted. you can either put them inside triple "`" (without quote), or paste them to gist.github.com, and put a link to it here. for the record, can you post your C program reproducing this as well? |
Fixed formatting, here's also a code of C program https://gist.github.com/vnd/76ba4d470c49fb6ed8b962bf54300e3c and it's output:
|
+1 |
Close this issue for now because of legacy, we are preparing to release Capstone 5.0, plz feel free to open a new issue if that still has this issue. |
0xe1f200b2 (ldrh r0, [r2, #2]! in ARMv7) is decoded as:
Data of the second operand is:
(the above is an output from Rust wrapper around capstone but I've checked it via plain C program as well)
'subtracted' for the second operands seems to be set incorrectly.
The text was updated successfully, but these errors were encountered: