Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GP-2566_CallOutputOverride'
Ryan Kurtz400de6e1ff47
diff --cc Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.ccindex e910ec5c62,7345ceee60..8d0678a836--- a/Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/coreaction.cc@@@ -1486,10 -1500,10 +1500,10 @@@ void ActionFuncLink::funcLinkOutput(FunDatatype *outtype = outparam->getType();if (outtype->getMetatype() != TYPE_VOID) {int4 sz = outparam->getSize();- if (sz == 1 && outtype->getMetatype() == TYPE_BOOL)+ if (sz == 1 && outtype->getMetatype() == TYPE_BOOL && data.isTypeRecoveryOn())- data.opMarkCalculatedBool(fc->getOp());+ data.opMarkCalculatedBool(callop);Address addr = outparam->getAddress();- data.newVarnodeOut(sz,addr,fc->getOp());+ data.newVarnodeOut(sz,addr,callop);VarnodeData vdata;OpCode res = fc->assumedOutputExtension(addr,sz,vdata);if (res == CPUI_PIECE) { // Pick an extension based on type