mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
overflow checks, take into account LOAD size
This commit is contained in:
parent
cb5ac78c08
commit
2a73bca9ac
4 changed files with 39 additions and 11 deletions
|
@ -2565,3 +2565,21 @@ void ValueSetSolver::solve(int4 max,Widener &widener)
|
|||
for(riter=readNodes.begin();riter!=readNodes.end();++riter)
|
||||
(*riter).second.compute(); // Calculate any follow-on value sets
|
||||
}
|
||||
|
||||
#ifdef CPUI_DEBUG
|
||||
void ValueSetSolver::dumpValueSets(ostream &s) const
|
||||
|
||||
{
|
||||
list<ValueSet>::const_iterator iter;
|
||||
for(iter=valueNodes.begin();iter!=valueNodes.end();++iter) {
|
||||
(*iter).printRaw(s);
|
||||
s << endl;
|
||||
}
|
||||
map<SeqNum,ValueSetRead>::const_iterator riter;
|
||||
for(riter=readNodes.begin();riter!=readNodes.end();++riter) {
|
||||
(*riter).second.printRaw(s);
|
||||
s << endl;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue