Ghidra is a software reverse engineering (SRE) framework
fix incorrect positioning of function call graph
shocoman30cba577163e
diff --git a/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FcgProvider.java b/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FcgProvider.javaindex 13b23b6bcb..0b27f475d0 100644--- a/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FcgProvider.java+++ b/Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FcgProvider.java@@ -172,6 +172,13 @@ public class FcgProviderif (!graphData.hasResults()) {return;}++ // The graph component won't contain valid perspective information if it's not 'initialized'+ // (i.e. rendered or displayed to the user). It may happen if the graph has been kept minimized+ // in the separate tab. Related method: `GraphComponent::viewerInitialized`+ if (view.getGraphComponent().isUninitialized()) {+ return;+ }GraphPerspectiveInfo<FcgVertex, FcgEdge> info = view.generateGraphPerspective();graphData.setGraphPerspective(info);