mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Some bug fixes for ptr arith
This commit is contained in:
parent
4f1adfcfc0
commit
5332624de8
2 changed files with 14 additions and 3 deletions
|
@ -5928,9 +5928,16 @@ bool AddTreeState::apply(void)
|
|||
preventDistribution = true;
|
||||
spanAddTree(baseOp,1);
|
||||
}
|
||||
calcSubtype();
|
||||
}
|
||||
if (!valid) {
|
||||
// Distribution transforms were made
|
||||
ostringstream s;
|
||||
s << "Problems distributing in pointer arithmetic at ";
|
||||
baseOp->getAddr().printRaw(s);
|
||||
data.warningHeader(s.str());
|
||||
return true;
|
||||
}
|
||||
if (!valid)
|
||||
throw LowlevelError("Problems distributing in ptrarith");
|
||||
buildTree();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue