Using radare2
, I am reverse engineering a custom language interpreter. It stores compiled functions as a list of pointers to language primitives. I would like to seek
to these locations, but typing in the hex addresses is very frustrating. I can't seem to find any syntax for saying "seek to the address stored at the current location".
E.g., say I am looking at the following in visual mode:
; UNKNOWN XREFS from entry0 @ 0x400382, 0x400384
; UNKNOWN XREF from entry0 @ +0x82
;-- section..text:
0x004000b0 .qword 0x00000000004002f3 ; aav.0x004002f3 ; [01] -r-x section size 736 named .text
0x004000b8 .qword 0x0000000000000064
0x004000c0 .qword 0x0000000000400301 ; aav.0x00400301
0x004000c8 .qword 0x000000000040032e ; aav.0x0040032e
0x004000d0 .qword 0x000000000040030c ; aav.0x0040030c
. . .
The "current location" is at 0x004000b0
, and it stores the value 0x4002f3
, which is where I'd like to seek. For now, I have to type g
followed by reading and typing out, or selecting and pasting, the address 0x4002f3
.
Is there some efficient way to say "seek to the value stored at $$
"?