From b184abc18887f1b34b6e4fe2166e99e1c6325321 Mon Sep 17 00:00:00 2001 From: caheckman <48068198+caheckman@users.noreply.github.com> Date: Tue, 15 Oct 2019 13:15:13 -0400 Subject: [PATCH] bugfix for crashes in ActionConstantPtr --- Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc index 8745d36852..58fa7b7087 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.cc @@ -371,7 +371,7 @@ void Funcdata::spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const opInsertBefore(zextOp,op); } else - opSetOpcode(extraOp,CPUI_INT_ZEXT); + opSetOpcode(zextOp,CPUI_INT_ZEXT); opSetInput(zextOp,outvn,0); outvn = zextOp->getOut(); }