mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-0: Fix DebuggerRegistersProviderGuestTest
This commit is contained in:
parent
bece81176e
commit
c98e2b9126
3 changed files with 12 additions and 13 deletions
|
@ -384,14 +384,14 @@ public class DBTraceGuestPlatform extends DBAnnotatedObject
|
|||
while (it.hasNext()) {
|
||||
Pair<DBTraceGuestPlatformMappedRange, AddressRange> next = it.next();
|
||||
DBTraceGuestPlatformMappedRange entry = next.getLeft();
|
||||
AddressRange hostRange = next.getRight();
|
||||
result.add(entry.mapGuestToHost(hostRange));
|
||||
AddressRange guestRange = next.getRight();
|
||||
result.add(entry.mapGuestToHost(guestRange));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Map the an address only if the entire range is contained in a single mapped range
|
||||
* Map an address only if the entire range is contained in a single mapped range
|
||||
*
|
||||
* @param guestMin the min address of the range to map
|
||||
* @param guestMax the max address of the range to check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue