mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
fixed tests related to recent merge of GP-1073
This commit is contained in:
@@ -766,17 +766,10 @@ public class FGProvider extends VisualGraphComponentProvider<FGVertex, FGEdge, F
|
||||
Address minAddress = vertexAddresses.getMinAddress();
|
||||
|
||||
Symbol primary = symbolTable.getPrimarySymbol(minAddress);
|
||||
if (!primary.isDynamic()) {
|
||||
return;
|
||||
// if there is a symbol, then the block should not be merged
|
||||
if (primary == null) {
|
||||
controller.mergeVertexWithParent(destinationVertex);
|
||||
}
|
||||
|
||||
ReferenceManager referenceManager = currentProgram.getReferenceManager();
|
||||
ReferenceIterator references = referenceManager.getReferencesTo(minAddress);
|
||||
if (references.hasNext()) {
|
||||
return; // other references to this vertex entry point
|
||||
}
|
||||
|
||||
controller.mergeVertexWithParent(destinationVertex);
|
||||
}
|
||||
|
||||
private void handleReferenceAdded(DomainObjectChangeRecord record) {
|
||||
|
||||
Reference in New Issue
Block a user