mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 13:42:06 +00:00
Merge remote-tracking branch 'origin/GP-1302-dragonmacher-fcg-stack-trace-fix'
This commit is contained in:
commit
35feaaba92
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user