mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 Correction to GP-5619 regression
This commit is contained in:
parent
e13838d177
commit
749fdbb556
1 changed files with 2 additions and 2 deletions
|
@ -938,7 +938,7 @@ public class InstructionDB extends CodeUnitDB implements Instruction, Instructio
|
|||
FlowType myFlowType = getFlowType(); // getFlowType will validate
|
||||
if (myFlowType.hasFallthrough()) {
|
||||
try {
|
||||
return getAddress().addNoWrap(proto.getFallThroughOffset(this));
|
||||
return address.addNoWrap(getDefaultFallThroughOffset());
|
||||
}
|
||||
catch (AddressOverflowException e) {
|
||||
// ignore
|
||||
|
@ -950,7 +950,7 @@ public class InstructionDB extends CodeUnitDB implements Instruction, Instructio
|
|||
@Override
|
||||
public int getDefaultFallThroughOffset() {
|
||||
if (proto.getDelaySlotByteCount() <= 0) {
|
||||
return getLength();
|
||||
return proto.getLength();
|
||||
}
|
||||
lock.acquire();
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue