Skip to content
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

AArch64: incorrect register access information for cmp instruction #1697

Open
chironxie opened this issue Oct 24, 2020 · 0 comments
Open

AArch64: incorrect register access information for cmp instruction #1697

chironxie opened this issue Oct 24, 2020 · 0 comments

Comments

@chironxie
Copy link

The capstone reports writing register w11 in instruction cmp w11, #0x3d. But from ARMv8 spec, w11 is just a source register and will not be written.
branch: master and 4.0.2

 0  7f f5 00 71  cmp    w11, #0x3d
        op_count: 2
                operands[0].type: REG = w11
                operands[0].access: WRITE
                operands[1].type: IMM = 0x3d
                operands[1].access: READ
        Update-flags: True
        Registers modified: nzcv w11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant