mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 09:45:12 +08:00
GP-5833 Fixed possible inifinite loop during constant analysis on mips
platforms.
This commit is contained in:
+5
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user