Skip to content

Ghidra is a software reverse engineering (SRE) framework

Don't clear StringManager as part of local function analysis

caheckman407285176d8b
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
index 54b3b01d5a..65b8c72049 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/architecture.cc
@@ -286,7 +286,6 @@ void Architecture::clearAnalysis(Funcdata *fd)
fd->clear(); // Clear stuff internal to function
// Clear out any analysis generated comments
commentdb->clearType(fd->getAddress(),Comment::warning|Comment::warningheader);
- stringManager->clear();
}
/// Symbols do not necessarily need to be available for the decompiler.