mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-3511 revised fix for branch to self with invalid delay slot
This commit is contained in:
parent
92a1c0dccf
commit
d73c362790
2 changed files with 2 additions and 5 deletions
|
@ -1150,12 +1150,12 @@ public class Disassembler implements DisassemblerConflictHandler {
|
|||
throws InsufficientBytesException, UnknownInstructionException,
|
||||
AddressOverflowException, NestedDelaySlotException {
|
||||
|
||||
List<PseudoInstruction> delaySlotList = parseDelaySlots(inst, blockMemBuffer, block);
|
||||
|
||||
if (followFlow) {
|
||||
processInstructionFlows(inst, block);
|
||||
}
|
||||
|
||||
List<PseudoInstruction> delaySlotList = parseDelaySlots(inst, blockMemBuffer, block);
|
||||
|
||||
block.addInstruction(inst);
|
||||
|
||||
if (delaySlotList != null) {
|
||||
|
|
|
@ -174,9 +174,6 @@ class DisassemblerQueue {
|
|||
branchFlow = currentBranchQueue.first();
|
||||
currentBranchQueue.remove(branchFlow);
|
||||
}
|
||||
if (processedBranchFlows.contains(branchFlow)) {
|
||||
continue;
|
||||
}
|
||||
processedBranchFlows.add(branchFlow);
|
||||
|
||||
Address blockAddr = branchFlow.getDestinationAddress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue