mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-890: Added dialog for adding mappings and fixing various db/ui issues re/ length.
This commit is contained in:
@@ -76,7 +76,7 @@ public class DBTraceStaticMappingManager implements TraceStaticMappingManager, D
|
||||
public DBTraceStaticMapping add(AddressRange range, Range<Long> lifespan, URL toProgramURL,
|
||||
String toAddress)
|
||||
throws TraceConflictedMappingException {
|
||||
if (lifespan.lowerBoundType() != BoundType.CLOSED) {
|
||||
if (lifespan.hasLowerBound() && lifespan.lowerBoundType() != BoundType.CLOSED) {
|
||||
throw new IllegalArgumentException("Lower bound must be closed");
|
||||
}
|
||||
try (LockHold hold = LockHold.lock(lock.writeLock())) {
|
||||
|
||||
@@ -63,7 +63,7 @@ public interface TraceStaticMapping {
|
||||
/**
|
||||
* Get the length of the mapping, i.e., the length of the range
|
||||
*
|
||||
* @return the length
|
||||
* @return the length, where 0 indicates {@code 1 << 64}
|
||||
*/
|
||||
long getLength();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user