diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc index d503de1955..7daf4c1ea8 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/dynamic.cc @@ -435,6 +435,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();