mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 05:35:55 +08:00
GP-1302 - Function Call Graph - fixed stack trace due to improper action
enablement Closes #3327
This commit is contained in:
+6
-1
@@ -1250,7 +1250,12 @@ public class FcgProvider
|
||||
@Override
|
||||
boolean isExpandable(FcgVertex vertex) {
|
||||
Iterable<FcgVertex> vertices = getVerticesByLevel(vertex.getLevel());
|
||||
return CollectionUtils.asStream(vertices).anyMatch(v -> v.canExpand());
|
||||
if (direction == IN) {
|
||||
return CollectionUtils.asStream(vertices)
|
||||
.anyMatch(FcgVertex::canExpandIncomingReferences);
|
||||
}
|
||||
return CollectionUtils.asStream(vertices)
|
||||
.anyMatch(FcgVertex::canExpandOutgoingReferences);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user