Skip to content

Ghidra is a software reverse engineering (SRE) framework

Bug fix to allow repeated use of StructureGraph action

caheckman1ada2384d39c
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc
index dfc58c6dea..231a12dd42 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc
@@ -351,6 +351,7 @@ void StructureGraph::rawAction(void)
sout.write("\000\000\001\016",4);
resultgraph.saveXml(sout);
sout.write("\000\000\001\017",4);
+ ingraph.clear();
}
void SetAction::loadParameters(void)