Suggestions from github issue #382

This commit is contained in:
caheckman 2019-04-12 09:44:53 -04:00
parent ba98e85429
commit 933e16f751
10 changed files with 19 additions and 17 deletions

View file

@ -1986,8 +1986,7 @@ Varnode *SubfloatFlow::getReplaceVarnode(ReplaceVarnode *rvn)
// Here we artificially truncate the location, which isn't realistic
if (addr.isBigEndian())
addr = addr + (rvn->vn->getSize() - precision);
if (isinput)
replaceInput(rvn); // Replace input to avoid overlap errors
replaceInput(rvn); // Replace input to avoid overlap errors
rvn->replacement = fd->newVarnode(precision,addr);
}
else