another subvariableflow modification

This commit is contained in:
caheckman 2019-10-22 15:21:29 -04:00
parent 216725f4cd
commit e014cfb3a5

View file

@ -7230,7 +7230,7 @@ int4 RuleSubvarSubpiece::applyOp(PcodeOp *op,Funcdata &data)
mask <<= 8*((int4)op->getIn(1)->getOffset()); mask <<= 8*((int4)op->getIn(1)->getOffset());
bool aggressive = outvn->isPtrFlow(); bool aggressive = outvn->isPtrFlow();
if (!aggressive) { if (!aggressive) {
if (mask != vn->getConsume()) return 0; if ((vn->getConsume() & mask) != vn->getConsume()) return 0;
if (op->getOut()->hasNoDescend()) return 0; if (op->getOut()->hasNoDescend()) return 0;
} }
SubvariableFlow subflow(&data,vn,mask,aggressive,false); SubvariableFlow subflow(&data,vn,mask,aggressive,false);