GP-0 corrected decompiler modellock

This commit is contained in:
ghidra1 2023-12-12 15:40:29 -05:00
parent e5c1a8ebcb
commit ed46dde304

View file

@ -132,7 +132,8 @@ public class FunctionPrototype {
protoModel = f.getProgram().getCompilerSpec().getDefaultCallingConvention();
}
hasThis = protoModel.hasThisPointer();
modellock = !f.hasUnknownCallingConventionName();
modellock =
((modelname != null) && !Function.UNKNOWN_CALLING_CONVENTION_STRING.equals(modelname));
injectname = f.getCallFixup();
voidinputlock = false;
Parameter returnparam = f.getReturn();