mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-2974: Fixing warnings
This commit is contained in:
parent
113156a19f
commit
7fa3389119
662 changed files with 2198 additions and 2216 deletions
|
@ -245,7 +245,7 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
|
|||
// Route our edges!
|
||||
//
|
||||
for (FGEdge e : edges) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
FGVertex startVertex = e.getStart();
|
||||
FGVertex endVertex = e.getEnd();
|
||||
|
@ -1001,7 +1001,7 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
|
|||
BlockGraph blockGraph = new BlockGraph();
|
||||
BidiMap<CodeBlock, PcodeBlock> bidiMap = new DualHashBidiMap<>();
|
||||
for (; iterator.hasNext();) {
|
||||
taskMonitor.checkCanceled();
|
||||
taskMonitor.checkCancelled();
|
||||
|
||||
CodeBlock codeBlock = iterator.next();
|
||||
FGVertex vertex = getVertex(jungGraph, codeBlock.getMinAddress());
|
||||
|
@ -1016,11 +1016,11 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
|
|||
}
|
||||
|
||||
for (CodeBlock block : bidiMap.keySet()) {
|
||||
taskMonitor.checkCanceled();
|
||||
taskMonitor.checkCancelled();
|
||||
|
||||
CodeBlockReferenceIterator destinations = block.getDestinations(taskMonitor);
|
||||
while (destinations.hasNext()) {
|
||||
taskMonitor.checkCanceled();
|
||||
taskMonitor.checkCancelled();
|
||||
|
||||
CodeBlockReference ref = destinations.next();
|
||||
// We only want control flow that is internal to the function. Make sure to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue