mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
fix to let equate symbols survive deindirect
This commit is contained in:
parent
d648dd3ef8
commit
fc053ad50f
1 changed files with 1 additions and 1 deletions
|
@ -4088,7 +4088,7 @@ Varnode *FuncCallSpecs::buildParam(Funcdata &data,Varnode *vn,ProtoParameter *pa
|
||||||
Varnode *newout = data.newUniqueOut(param->getSize(),newop);
|
Varnode *newout = data.newUniqueOut(param->getSize(),newop);
|
||||||
// Its possible vn is free, in which case the SetInput would give it multiple descendants
|
// Its possible vn is free, in which case the SetInput would give it multiple descendants
|
||||||
// See we construct a new version
|
// See we construct a new version
|
||||||
if (vn->isFree() && (!vn->hasNoDescend()))
|
if (vn->isFree() && !vn->isConstant() && !vn->hasNoDescend())
|
||||||
vn = data.newVarnode(vn->getSize(),vn->getAddr());
|
vn = data.newVarnode(vn->getSize(),vn->getAddr());
|
||||||
data.opSetInput(newop,vn,0);
|
data.opSetInput(newop,vn,0);
|
||||||
data.opSetInput(newop,data.newConstant(4,0),1);
|
data.opSetInput(newop,data.newConstant(4,0),1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue