mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-520 corrected NPE
This commit is contained in:
parent
c0152fd32d
commit
ceba3171b7
1 changed files with 5 additions and 1 deletions
|
@ -1273,7 +1273,11 @@ void ConsistencyChecker::checkUnusedTemps(Constructor *ct,const map<uintb,Optimi
|
|||
/// returns after the first large varnode is found.
|
||||
///
|
||||
void ConsistencyChecker::checkLargeTemporaries(Constructor *ct){
|
||||
vector<OpTpl *> ops = ct->getTempl()->getOpvec();
|
||||
ConstructTpl *ctTpl = ct->getTempl();
|
||||
if (ctTpl == (ConstructTpl *) 0){
|
||||
return;
|
||||
}
|
||||
vector<OpTpl *> ops = ctTpl->getOpvec();
|
||||
for (vector<OpTpl *>::iterator iter = ops.begin(); iter != ops.end(); ++iter){
|
||||
if (hasLargeTemporary(*iter)){
|
||||
if (printlargetempwarning){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue