mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 03:35:37 +00:00
Add VdR to find references
This commit is contained in:
parent
836b4625e1
commit
3735eb66a8
@ -1305,6 +1305,7 @@ R_API void r_core_visual_define (RCore *core) {
|
||||
," h highlight word"
|
||||
," q quit/cancel operation"
|
||||
," r rename function"
|
||||
," R find references /r"
|
||||
," s set string"
|
||||
," S set strings in current block"
|
||||
," u undefine metadata here"
|
||||
@ -1433,6 +1434,10 @@ R_API void r_core_visual_define (RCore *core) {
|
||||
case 'r': // "Vdr"
|
||||
r_core_cmdf (core, "?i new function name;afn `?y` @ 0x%08"PFMT64x, here);
|
||||
break;
|
||||
case 'R': // "VdR"
|
||||
eprintf ("Finding references to 0x%08"PFMT64x" ...\n", here);
|
||||
r_core_cmdf (core, "./r 0x%08"PFMT64x" @ $S", here);
|
||||
break;
|
||||
case 'S':
|
||||
do {
|
||||
n = r_str_nlen ((const char*)p+ntotal, plen-ntotal)+1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user