mirror of
https://github.com/radareorg/r2flutter.git
synced 2026-11-07 22:56:23 -10:00
Support RVec fcn->bbs on R2_ABIVERSION >= 168
This commit is contained in:
1 parent
441d614937
commit
8a9e54be29
1 file changed
+7
-1
@@ -1370,9 +1370,15 @@ static void flutter_scan_function(RCore *core, FlutterAnalModel *model, FlutterP
|
||||
}
|
||||
|
||||
HtUP *seen_ops = ht_up_new0 ();
|
||||
RListIter *it;
|
||||
RAnalBlock *bb;
|
||||
#if R2_ABIVERSION >= 168
|
||||
RAnalBlock **it;
|
||||
R_VEC_FOREACH (&fcn->bbs, it) {
|
||||
bb = *it;
|
||||
#else
|
||||
RListIter *it;
|
||||
r_list_foreach (fcn->bbs, it, bb) {
|
||||
#endif
|
||||
if (!bb || bb->size == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user