Ghidra is a software reverse engineering (SRE) framework
GP-4656 - Fixed issue loading FCG when starting fully-zoomed in
dragonmacherddaa6a35b8a5
diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/view/FcgComponent.java b/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/view/FcgComponent.javaindex aabcc6167b..8190df3e8a 100644--- a/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/view/FcgComponent.java+++ b/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/view/FcgComponent.java@@ -32,9 +32,6 @@ import ghidra.graph.viewer.vertex.VisualVertexRenderer;*/public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCallGraph> {- // our parent stores a reference to this graph, but we do it here to maintain its type- private FunctionCallGraph fcGraph;-private FcgVertexPaintTransformer vertexPaintTransformer =new FcgVertexPaintTransformer(FcgVertex.DEFAULT_VERTEX_SHAPE_COLOR);@@ -55,7 +52,7 @@ public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCal@Overrideprotected FcgVertex getInitialVertex() {- return fcGraph.getSource();+ return graph.getSource();}@Override@@ -91,13 +88,6 @@ public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCaledgeRenderer.setDrawColorTransformer(satelliteEdgePaintTransformer);}- @Override- public void dispose() {-- fcGraph = null;- super.dispose();- }-@Override // open access for testingpublic VisualGraphViewUpdater<FcgVertex, FcgEdge> getViewUpdater() {return super.getViewUpdater();