Changed handling of reheritaged memory locations

This commit is contained in:
caheckman 2020-10-15 17:14:12 -04:00
parent 7e53da0aed
commit 96910671b0
7 changed files with 93 additions and 18 deletions

View file

@ -482,9 +482,9 @@ bool FlowInfo::setFallthruBound(Address &bound)
if (iter!=visited.begin()) {
--iter; // Last range less than or equal to us
if (addr == (*iter).first) { // If we have already visited this address
addrlist.pop_back(); // Throw it away
PcodeOp *op = target(addr); // But make sure the address
data.opMarkStartBasic(op); // starts a basic block
addrlist.pop_back(); // Throw it away
return false;
}
if (addr < (*iter).first + (*iter).second.size)