Package ghidra.trace.database.listing
Interface InternalBaseCodeUnitsView<T extends TraceCodeUnit>
- All Superinterfaces:
TraceBaseCodeUnitsView<T>
- All Known Subinterfaces:
InternalTraceBaseDefinedUnitsView<T>,InternalTraceDefinedDataView
- All Known Implementing Classes:
DBTraceCodeUnitsMemoryView,DBTraceCodeUnitsView,DBTraceDataMemoryView,DBTraceDataView,DBTraceDefinedDataMemoryView,DBTraceDefinedDataView,DBTraceDefinedUnitsMemoryView,DBTraceDefinedUnitsView,DBTraceInstructionsMemoryView,DBTraceInstructionsView,DBTraceUndefinedDataMemoryView,DBTraceUndefinedDataView
public interface InternalBaseCodeUnitsView<T extends TraceCodeUnit>
extends TraceBaseCodeUnitsView<T>
-
Method Summary
Modifier and TypeMethodDescriptionget(TracePlatform platform, long snap, Register register, boolean forward) Get the live units whose start addresses are within the given registerdefault TgetContaining(TracePlatform platform, long snap, Register register) Get the unit which completely contains the given registerdefault TgetForRegister(TracePlatform platform, long snap, Register register) Get the unit (or component of a structure) which spans exactly the addresses of the given platform registergetSpace()Methods inherited from interface ghidra.trace.model.listing.TraceBaseCodeUnitsView
containsAddress, coversRange, coversRange, get, get, get, get, get, get, getAddressSetView, getAddressSetView, getAfter, getAt, getBefore, getCeiling, getContaining, getContaining, getFloor, getForRegister, getIntersecting, getTrace, intersectsRange, intersectsRange, size
-
Method Details
-
getSpace
AddressSpace getSpace() -
getForRegister
Description copied from interface:TraceBaseCodeUnitsViewGet the unit (or component of a structure) which spans exactly the addresses of the given platform register- Specified by:
getForRegisterin interfaceTraceBaseCodeUnitsView<T extends TraceCodeUnit>- Parameters:
platform- the platform whose language defines the registersnap- the snapregister- the register- Returns:
- the unit or
null
-
getContaining
Description copied from interface:TraceBaseCodeUnitsViewGet the unit which completely contains the given registerThis does not descend into structures.
- Specified by:
getContainingin interfaceTraceBaseCodeUnitsView<T extends TraceCodeUnit>- Parameters:
platform- the platform whose language defines the registersnap- the snap during which the unit must be aliveregister- the register- Returns:
- the unit or
unit
-
get
default Iterable<? extends T> get(TracePlatform platform, long snap, Register register, boolean forward) Description copied from interface:TraceBaseCodeUnitsViewGet the live units whose start addresses are within the given register- Specified by:
getin interfaceTraceBaseCodeUnitsView<T extends TraceCodeUnit>- Parameters:
platform- the platform whose language defines the registersnap- the snap during which the units must be aliveregister- the registerforward- true to order the units by increasing address, false for descending- Returns:
- the iterable of units
-