-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
radare2 doesn't always show indirect values #33
Comments
I have fixed this in Git. The arm code analysis engine needs still lot of work. Thanks! |
Closed
yossizap
pushed a commit
to yossizap/radare2
that referenced
this issue
Dec 30, 2019
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
On some instructions involving reading a value somewhere, radare2 conveniently displays the value next to the pointer, like this:
0xc0008714 98009fe5 ldr r0, [pc, #152] ; 0xffffffffc00087b4; => 0xc06b4308
It however doesn't do this for all instructions:
0xc0008700 a4a09f15 ldrne sl, [pc, #164] ; 0xffffffffc00087ac
Also, on arm, some other instructions involving pc might get some helpfulness from having the result shown, like in:
0xc00081b8 68008fe2 add r0, pc, #104 ; 0x68
It would already be interesting to have pc + 0x68 already displayed, but since on arm, reading pc returns actual instruction address + 8 (4 in thumb), it's even more interesting and avoids stupid mistakes. Here, the result is 0xc00081b8 + 0x68 + 8.
P.S. Moved from http://rada.re/y/bugs.php?bugs&s=view&id=72
The text was updated successfully, but these errors were encountered: