Support RVec fcn->bbs on R2_ABIVERSION >= 168

This commit is contained in:
pancake committed 2026-11-05 12:57:12 +01:00
1 parent 441d614937
commit 8a9e54be29
1 file changed
+7 -1
+7 -1
View File
@@ -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;
}