mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3829: Included override of method to validate addressspace in ProgramAddressFactory to include Register spaces in Trace
This commit is contained in:
parent
c072972153
commit
7d3891ac0b
2 changed files with 12 additions and 2 deletions
|
@ -34,6 +34,12 @@ public class TraceAddressFactory extends ProgramAddressFactory {
|
|||
!originalSpace.isOverlaySpace();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean assignUniqueID(AddressSpace originalSpace) {
|
||||
return super.assignUniqueID(originalSpace) ||
|
||||
originalSpace.getType() == AddressSpace.TYPE_REGISTER;
|
||||
}
|
||||
|
||||
@Override // for peer access
|
||||
protected OverlayAddressSpace addOverlayAddressSpace(String name, boolean preserveName,
|
||||
AddressSpace originalSpace, long minOffset, long maxOffset) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue