mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
af+ no-bb fix
This commit is contained in:
parent
a48b877189
commit
110158c3e3
@ -1427,7 +1427,7 @@ R_API RAnalFunction *r_anal_get_fcn_in(RAnal *anal, ut64 addr, int type) {
|
||||
}
|
||||
r_list_foreach (anal->fcns, iter, fcn) {
|
||||
if (!type || (fcn && fcn->type & type)) {
|
||||
if (r_tinyrange_in (&fcn->bbr, addr)) {
|
||||
if (r_tinyrange_in (&fcn->bbr, addr) || fcn->addr == addr) {
|
||||
ret = fcn;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user