mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-05 04:56:10 +00:00
Fix mips emu function resolution in disasm (#6100)
This commit is contained in:
parent
1660cee325
commit
af974b6990
@ -3051,8 +3051,11 @@ static void ds_print_esil_anal(RDisasmState *ds) {
|
||||
ut64 pcv = ds->analop.jump;
|
||||
if (pcv == UT64_MAX) {
|
||||
pcv = ds->analop.ptr; // call [reloc-addr] // windows style
|
||||
if (pcv == UT64_MAX) {
|
||||
pcv = r_reg_getv (core->anal->reg, pc);
|
||||
if (pcv == UT64_MAX || pcv == 0) {
|
||||
r_anal_esil_reg_read (esil, "$jt", &pcv, NULL);
|
||||
if (pcv == UT64_MAX || pcv == 0) {
|
||||
pcv = r_reg_getv (core->anal->reg, pc);
|
||||
}
|
||||
}
|
||||
}
|
||||
fcn = r_anal_get_fcn_at (core->anal, pcv, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user