Package ghidra.trace.model.listing
Interface TraceBaseDefinedUnitsView<T extends TraceCodeUnit>
- Type Parameters:
T- the type of units in the view
- All Superinterfaces:
TraceBaseCodeUnitsView<T>
- All Known Subinterfaces:
InternalTraceBaseDefinedUnitsView<T>,InternalTraceDefinedDataView,TraceDefinedDataView,TraceDefinedUnitsView,TraceInstructionsView
- All Known Implementing Classes:
DBTraceDefinedDataMemoryView,DBTraceDefinedDataView,DBTraceDefinedUnitsMemoryView,DBTraceDefinedUnitsView,DBTraceInstructionsMemoryView,DBTraceInstructionsView
public interface TraceBaseDefinedUnitsView<T extends TraceCodeUnit>
extends TraceBaseCodeUnitsView<T>
A
TraceBaseCodeUnitsView restricted (at least) to defined units-
Method Summary
Modifier and TypeMethodDescriptionvoidclear(TracePlatform platform, Lifespan span, Register register, TaskMonitor monitor) Clear the units contained within the given span and platform registervoidclear(Lifespan span, AddressRange range, boolean clearContext, TaskMonitor monitor) Clear the units contained within the given span and address range.default voidclear(Lifespan span, Register register, TaskMonitor monitor) Clear the units contained within the given span and registerMethods inherited from interface ghidra.trace.model.listing.TraceBaseCodeUnitsView
containsAddress, coversRange, coversRange, get, get, get, get, get, get, get, getAddressSetView, getAddressSetView, getAfter, getAt, getBefore, getCeiling, getContaining, getContaining, getContaining, getFloor, getForRegister, getForRegister, getIntersecting, getTrace, intersectsRange, intersectsRange, size
-
Method Details
-
clear
void clear(Lifespan span, AddressRange range, boolean clearContext, TaskMonitor monitor) throws CancelledException Clear the units contained within the given span and address range.Any units alive before the given span are truncated instead of deleted. That is, their end snaps are reduced such that they no longer intersect the given span. Note that the same is not true of a unit's start snap. If the start snap is contained in the span, the unit is deleted, even if its end snap is outside the span.
- Parameters:
span- the span to clearrange- the range to clearclearContext- true to clear the register context as wellmonitor- a monitor for progress and cancellation- Throws:
CancelledException- if the clear is cancelled
-
clear
Clear the units contained within the given span and registerAny units alive before the given span are truncated instead of deleted.
- Parameters:
span- the span to clearregister- the registermonitor- a monitor for progress and cancellation- Throws:
CancelledException- if the clear is cancelled
-
clear
void clear(TracePlatform platform, Lifespan span, Register register, TaskMonitor monitor) throws CancelledException Clear the units contained within the given span and platform registerAny units alive before the given span are truncated instead of deleted.
- Parameters:
platform- the platform whose language defines the registerspan- the span to clearregister- the registermonitor- a monitor for progress and cancellation- Throws:
CancelledException- if the clear is cancelled
-