-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
update_flags not working as expected for some ARM instructions #1568
Comments
You may use "cstool -d" to avoid writing code. Is this on the "next" branch? |
Thanks, I wasn't aware of the tool. |
@aquynh up :) |
Gets closed with #1949 |
This still seems to be an issue on 5.0.1 |
Are you able to use the |
There seems to be an issue with
update_flags
on some ARM instruction (at least forADC
andSBC
). More precisely, Capstone reportsupdate_flags
astrue
when it should befalse
(according to ARM reference manual).The following code snippet shows the issue:
Output:
Here
update_flags
istrue
forADC
andSBC
when it should befalse
(generally, it should only reporttrue
for those instructions with thes
suffix). Notice that this does not happen with neitherADD
norSUB
.The text was updated successfully, but these errors were encountered: