Package ghidra.program.database.mem
Class ByteSourceRange
- java.lang.Object
-
- ghidra.program.database.mem.ByteSourceRange
-
- Direct Known Subclasses:
BitMappedByteSourceRange
public class ByteSourceRange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected MemoryBlock
block
protected long
byteSourceOffset
protected long
size
protected long
sourceId
protected Address
start
-
Constructor Summary
Constructors Constructor Description ByteSourceRange(MemoryBlock block, Address start, long size, long sourceId, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Address
getEnd()
MemoryBlock
getMemoryBlock()
long
getOffset()
long
getSize()
long
getSourceId()
Address
getStart()
int
hashCode()
ByteSourceRange
intersect(ByteSourceRange range)
-
-
-
Field Detail
-
start
protected final Address start
-
size
protected final long size
-
sourceId
protected final long sourceId
-
byteSourceOffset
protected final long byteSourceOffset
-
block
protected MemoryBlock block
-
-
Constructor Detail
-
ByteSourceRange
public ByteSourceRange(MemoryBlock block, Address start, long size, long sourceId, long offset)
-
-
Method Detail
-
getStart
public Address getStart()
-
getEnd
public Address getEnd()
-
getSize
public long getSize()
-
getSourceId
public long getSourceId()
-
getOffset
public long getOffset()
-
intersect
public ByteSourceRange intersect(ByteSourceRange range)
-
getMemoryBlock
public MemoryBlock getMemoryBlock()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-