mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 12:27:40 +00:00
Add relocation search in disassembly jump substituion. (#12459)
This commit is contained in:
parent
97b94b3f94
commit
f051f2b185
@ -4648,6 +4648,11 @@ static char *ds_sub_jumps(RDisasmState *ds, char *str) {
|
||||
flag = r_flag_get_i2 (f, addr);
|
||||
if (flag) {
|
||||
name = flag->name;
|
||||
} else {
|
||||
RBinReloc *rel = getreloc (ds->core, addr, ds->analop.size);
|
||||
if (rel && rel->import && rel->import->name) {
|
||||
name = rel->import->name;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user