diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc index 6653483938..81ab22bb72 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc @@ -628,6 +628,7 @@ void DynamicHash::gatherFirstLevelVars(vector &varlist,const Funcdata while(iter!=enditer) { PcodeOp *op = (*iter).second; ++iter; + if (op->isDead()) continue; if (op->code() != opc) continue; if (slot <0) { Varnode *vn = op->getOut();