mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 22:05:50 +08:00
Corrected Function Editor message when auto-storage is transformed to an
explicit parameter with custom-storage transition.
This commit is contained in:
+1
-1
@@ -608,9 +608,9 @@ public class FunctionEditorModel {
|
|||||||
ParamInfo paramInfo = parameters.get(i);
|
ParamInfo paramInfo = parameters.get(i);
|
||||||
DataType dt = paramInfo.getDataType();
|
DataType dt = paramInfo.getDataType();
|
||||||
VariableStorage storage = paramInfo.getStorage();
|
VariableStorage storage = paramInfo.getStorage();
|
||||||
|
signatureTransformed |= storage.isAutoStorage();
|
||||||
paramInfo.setFormalDataType(dt);
|
paramInfo.setFormalDataType(dt);
|
||||||
paramInfo.setStorage(storage.clone(program));
|
paramInfo.setStorage(storage.clone(program));
|
||||||
signatureTransformed = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (InvalidInputException e) {
|
catch (InvalidInputException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user