Class DBTraceCodeUnitsView
java.lang.Object
ghidra.trace.database.listing.AbstractBaseDBTraceCodeUnitsView<DBTraceCodeUnitAdapter>
ghidra.trace.database.listing.AbstractComposedDBTraceCodeUnitsView<DBTraceCodeUnitAdapter, AbstractSingleDBTraceCodeUnitsView<? extends DBTraceCodeUnitAdapter>>
ghidra.trace.database.listing.DBTraceCodeUnitsView
- All Implemented Interfaces:
InternalBaseCodeUnitsView<TraceCodeUnit>, TraceBaseCodeUnitsView<TraceCodeUnit>, TraceCodeUnitsView
public class DBTraceCodeUnitsView
extends AbstractComposedDBTraceCodeUnitsView<DBTraceCodeUnitAdapter, AbstractSingleDBTraceCodeUnitsView<? extends DBTraceCodeUnitAdapter>>
implements TraceCodeUnitsView, InternalBaseCodeUnitsView<TraceCodeUnit>
The implementation of
TraceCodeOperations.codeUnits()-
Field Summary
Fields inherited from class AbstractComposedDBTraceCodeUnitsView
partsFields inherited from class AbstractBaseDBTraceCodeUnitsView
space -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancoversRange(Lifespan span, AddressRange range) Check if the given span of snaps and range of addresses is covered by the unitsbooleanintersectsRange(Lifespan span, AddressRange range) Check if the given span of snaps and range of addresses intersects any unitMethods inherited from class AbstractComposedDBTraceCodeUnitsView
compareBackward, compareForward, containsAddress, get, getAddressSetView, getAt, getCeiling, getContaining, getFloor, getIntersecting, sizeMethods inherited from class AbstractBaseDBTraceCodeUnitsView
coversRange, get, get, get, get, getAddressSetView, getAddressSpace, getAfter, getBefore, getSpace, getTrace, intersectsRangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface InternalBaseCodeUnitsView
get, getContaining, getForRegister, getSpaceMethods inherited from interface TraceBaseCodeUnitsView
containsAddress, coversRange, get, get, get, get, get, get, getAddressSetView, getAddressSetView, getAfter, getAt, getBefore, getCeiling, getContaining, getContaining, getFloor, getForRegister, getIntersecting, getTrace, intersectsRange, size
-
Constructor Details
-
DBTraceCodeUnitsView
Construct the view- Parameters:
space- the space, bound to an address space
-
-
Method Details
-
coversRange
Description copied from interface:TraceBaseCodeUnitsViewCheck if the given span of snaps and range of addresses is covered by the unitsThis checks if every (snap, address) point within the given box is contained within some code unit in this view.
- Specified by:
coversRangein interfaceTraceBaseCodeUnitsView<TraceCodeUnit>- Specified by:
coversRangein classAbstractBaseDBTraceCodeUnitsView<DBTraceCodeUnitAdapter>- Parameters:
span- the span of snapsrange- the address range- Returns:
- true if covered, false otherwise
- See Also:
-
intersectsRange
Description copied from interface:TraceBaseCodeUnitsViewCheck if the given span of snaps and range of addresses intersects any unitThis checks if any (snap, address) point within the given box is contained within some code unit in this view.
- Specified by:
intersectsRangein interfaceTraceBaseCodeUnitsView<TraceCodeUnit>- Specified by:
intersectsRangein classAbstractBaseDBTraceCodeUnitsView<DBTraceCodeUnitAdapter>- Parameters:
span- the span of snapsrange- the address range- Returns:
- true if intersecting, false otherwise
- See Also:
-