Skip to content

Ghidra is a software reverse engineering (SRE) framework

Corrected Function Editor message when auto-storage is transformed to an explicit parameter with custom-storage transition.

ghidra16a27df23452b
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
index a90bd312e9..8895e04eeb 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
@@ -608,9 +608,9 @@ public class FunctionEditorModel {
ParamInfo paramInfo = parameters.get(i);
DataType dt = paramInfo.getDataType();
VariableStorage storage = paramInfo.getStorage();
+ signatureTransformed |= storage.isAutoStorage();
paramInfo.setFormalDataType(dt);
paramInfo.setStorage(storage.clone(program));
- signatureTransformed = true;
}
}
catch (InvalidInputException e) {