diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc index 6653483938..eca50ac546 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc @@ -668,6 +668,7 @@ void DynamicHash::gatherOpsAtAddress(vector &opList,const Funcdata *f enditer = fd->endOp(addr); for(iter = fd->beginOp(addr); iter != enditer; ++iter) { PcodeOp *op = (*iter).second; + if (op->isDead()) continue; opList.push_back(op); } }