mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-4656-dragonmacher-fcg-exception' into Ghidra_11.1
This commit is contained in:
commit
8bfb75cc9b
1 changed files with 1 additions and 11 deletions
|
@ -32,9 +32,6 @@ import ghidra.graph.viewer.vertex.VisualVertexRenderer;
|
||||||
*/
|
*/
|
||||||
public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCallGraph> {
|
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 =
|
private FcgVertexPaintTransformer vertexPaintTransformer =
|
||||||
new FcgVertexPaintTransformer(FcgVertex.DEFAULT_VERTEX_SHAPE_COLOR);
|
new FcgVertexPaintTransformer(FcgVertex.DEFAULT_VERTEX_SHAPE_COLOR);
|
||||||
|
|
||||||
|
@ -55,7 +52,7 @@ public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCal
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected FcgVertex getInitialVertex() {
|
protected FcgVertex getInitialVertex() {
|
||||||
return fcGraph.getSource();
|
return graph.getSource();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -91,13 +88,6 @@ public class FcgComponent extends GraphComponent<FcgVertex, FcgEdge, FunctionCal
|
||||||
edgeRenderer.setDrawColorTransformer(satelliteEdgePaintTransformer);
|
edgeRenderer.setDrawColorTransformer(satelliteEdgePaintTransformer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void dispose() {
|
|
||||||
|
|
||||||
fcGraph = null;
|
|
||||||
super.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override // open access for testing
|
@Override // open access for testing
|
||||||
public VisualGraphViewUpdater<FcgVertex, FcgEdge> getViewUpdater() {
|
public VisualGraphViewUpdater<FcgVertex, FcgEdge> getViewUpdater() {
|
||||||
return super.getViewUpdater();
|
return super.getViewUpdater();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue