mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Propagate constant symbols through equal2zero rule..
This commit is contained in:
parent
78717038cf
commit
f758942dd7
1 changed files with 1 additions and 0 deletions
|
@ -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 markup
|
||||
posvn = vn;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue