mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-10-23 13:41:04 +00:00
GP-1302 - Function Call Graph - fixed stack trace due to improper action
enablement Closes #3327
This commit is contained in:
parent
30b7358b7f
commit
4bb1dde12c
|
@ -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