Skip to content

Commit

Permalink
GP-3841 rtti script - fixed increment issue caused when fixing
Browse files Browse the repository at this point in the history
incrementer
  • Loading branch information
ghidra007 committed Jun 6, 2023
1 parent a31063d commit ec8d9f0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2569,7 +2569,7 @@ private boolean canContainPointer(Address pointer) throws CancelledException {
int offset = 0;
while (offset < defaultPointerSize) {
monitor.checkCancelled();
Address addr = pointer.add(offset++);
Address addr = pointer.add(offset);
data = listing.getDataContaining(addr);

// if bad address, instruction, or already defined data cannot contain pointer
Expand All @@ -2592,6 +2592,7 @@ private boolean canContainPointer(Address pointer) throws CancelledException {
if (symbols.length != 0) {
return false;
}
offset++;
}

return true;
Expand Down

0 comments on commit ec8d9f0

Please sign in to comment.