mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
filter address space marshalling based on other space
This commit is contained in:
parent
621c14c7b2
commit
bf4a17b67d
1 changed files with 1 additions and 4 deletions
|
@ -406,10 +406,7 @@ public class Varnode {
|
|||
public static void appendSpaceOffset(StringBuilder buf, Address addr) {
|
||||
AddressSpace space = addr.getAddressSpace();
|
||||
if (space.isOverlaySpace()) {
|
||||
//if the address is contained within the overlay space, stay in the overlay
|
||||
//otherwise default to the underlying space
|
||||
if (addr.compareTo(space.getMinAddress()) < 0 ||
|
||||
addr.compareTo(space.getMaxAddress()) > 0) {
|
||||
if (space.getType() != AddressSpace.TYPE_OTHER) {
|
||||
space = space.getPhysicalSpace();
|
||||
addr = space.getAddress(addr.getOffset());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue