Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-6357 fixed issue that caused infinite recursion in getFunctionCallMap method.

ghidra007301ef7471ff5
diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
index 6053f00f84..b70ac04371 100644
--- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
+++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
@@ -474,6 +474,7 @@ public class RecoveredClassHelper {
//TODO: the above continue is preventing the nulls and exts here - do we want this?
// or do we want another map/option?
functionCallMap.put(instruction.getMinAddress(), calledFunction);
+ continue;
}
if (instruction.getFlowOverride().equals(FlowOverride.CALL_RETURN)) {
Reference reference = instruction.getPrimaryReference(0);