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

[ARM] cs_reg_name() might return system reg name instead of banked reg name #2117

Open
Rot127 opened this issue Jul 22, 2023 · 0 comments
Open

Comments

@Rot127
Copy link
Collaborator

Rot127 commented Jul 22, 2023

As explained in #2116 system and banked registers can sometimes not differentiated by their encoding (e.g. 2057 = psp (sysreg) = r9_fiq (bankedreg).

cs_reg_name() will always return the system register name first (because this is most likely asked for).

Nonetheless it would be nice to either expose a new function or extend cs_reg_name with a flag.

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