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

reg_read from wsp in Arm64 / Aarch64 doesn't work #2020

Open
Montg0mery opened this issue Oct 1, 2024 · 1 comment
Open

reg_read from wsp in Arm64 / Aarch64 doesn't work #2020

Montg0mery opened this issue Oct 1, 2024 · 1 comment

Comments

@Montg0mery
Copy link

Montg0mery commented Oct 1, 2024

I don't actually need this, but when diagnosing #2019 I noticed that wsp is the only other register aside from xzr and wzr which isn't handled (apart from UC_ARM64_REG_INVALID and UC_ARM64_REG_ENDING but those are obviously intentionally invalid registers that purposefully shouldn't be implemented).

Unlike #2019, this one has never worked as far as I can tell (it always returned zero even when sp had all non-zero bytes, which unlike the other two registers, is not actually the expected value).

For completeness (in case any actual code does use this register), it might make sense to actually implement it, but I've separated this issue out from #2019 as that issue is much more important as xzr and wzr are widely used.

@wtdcode
Copy link
Member

wtdcode commented Oct 2, 2024

Fix in 05e29b4

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

2 participants