mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5833 Fixed possible inifinite loop during constant analysis on mips
platforms.
This commit is contained in:
parent
48f1bf133f
commit
8839bd365e
1 changed files with 5 additions and 0 deletions
|
@ -435,6 +435,11 @@ public class ConstantPropagationAnalyzer extends AbstractAnalyzer {
|
||||||
// now get rid of all the instructions that were analyzed
|
// now get rid of all the instructions that were analyzed
|
||||||
todoSet.delete(resultSet);
|
todoSet.delete(resultSet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make sure todoSet removes start address if no results
|
||||||
|
if (resultSet == null || resultSet.isEmpty()) {
|
||||||
|
todoSet.delete(start,start);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue