Ghidra is a software reverse engineering (SRE) framework
Propagate constant symbols through equal2zero rule..
caheckmanf758942dd750
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.ccindex e620e780dc..a097b4a446 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc@@ -5509,6 +5509,7 @@ int4 RuleEqual2Zero::applyOp(PcodeOp *op,Funcdata &data)if (vn2->isConstant()) {Address val(vn2->getSpace(),uintb_negate(vn2->getOffset()-1,vn2->getSize()));unnegvn = data.newVarnode(vn2->getSize(),val);+ unnegvn->copySymbolIfValid(vn2); // Propagate any markupposvn = vn;}else {