mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
aac was currently adding call-refs to the target of the found call. this should fix #6858
This commit is contained in:
parent
4ce2368c4f
commit
5c39365c57
@ -3716,7 +3716,7 @@ static void _anal_calls(RCore *core, ut64 addr, ut64 addr_end) {
|
||||
}
|
||||
#else
|
||||
// add xref here
|
||||
RAnalFunction * fcn = r_anal_get_fcn_at (core->anal, op.jump, R_ANAL_FCN_TYPE_NULL);
|
||||
RAnalFunction * fcn = r_anal_get_fcn_at (core->anal, addr, R_ANAL_FCN_TYPE_NULL);
|
||||
r_anal_fcn_xref_add (core->anal, fcn, addr, op.jump, 'C');
|
||||
if (r_io_is_valid_offset (core->io, op.jump, 1)) {
|
||||
r_core_anal_fcn (core, op.jump, addr, R_ANAL_REF_TYPE_NULL, depth);
|
||||
|
Loading…
Reference in New Issue
Block a user