mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-2974: Fixing warnings
This commit is contained in:
parent
113156a19f
commit
7fa3389119
662 changed files with 2198 additions and 2216 deletions
|
@ -57,7 +57,7 @@ public class ExportProgramScript extends GhidraScript {
|
|||
RelocationTable relocTable = currentProgram.getRelocationTable();
|
||||
Iterator<Relocation> iter = relocTable.getRelocations();
|
||||
while (iter.hasNext()) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
Relocation reloc = iter.next();
|
||||
Address relocStart = reloc.getAddress();
|
||||
|
@ -102,7 +102,7 @@ public class ExportProgramScript extends GhidraScript {
|
|||
// the original
|
||||
for (long i = 0; i < size; i++) {
|
||||
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
|
||||
byte originalByte = fileBytes.getOriginalByte(i);
|
||||
byte currentByte = fileBytes.getModifiedByte(i);
|
||||
|
@ -158,7 +158,7 @@ public class ExportProgramScript extends GhidraScript {
|
|||
}
|
||||
|
||||
for (Address address : list) {
|
||||
monitor.checkCanceled();
|
||||
monitor.checkCancelled();
|
||||
if (set.contains(address)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue