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.
I don't actually need this, but when diagnosing #2019 I noticed that
wsp
is the only other register aside fromxzr
andwzr
which isn't handled (apart fromUC_ARM64_REG_INVALID
andUC_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
andwzr
are widely used.