mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-1302-dragonmacher-fcg-stack-trace-fix'
This commit is contained in:
commit
35feaaba92
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue