mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
0857d52681
2 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -884,10 +884,13 @@ public class InstructionDB extends CodeUnitDB implements Instruction, Instructio
|
|||
private void addLengthOverrideFallthroughRef() {
|
||||
if (isLengthOverridden() && !isFallThroughOverridden()) {
|
||||
// length-override always uses default fall-through address
|
||||
refMgr.addMemoryReference(address, getDefaultFallThrough(), RefType.FALL_THROUGH,
|
||||
Address defaultFallThrough = getDefaultFallThrough();
|
||||
if (defaultFallThrough != null) {
|
||||
refMgr.addMemoryReference(address, defaultFallThrough, RefType.FALL_THROUGH,
|
||||
SourceType.USER_DEFINED, Reference.MNEMONIC);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLengthOverridden() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue