Package ghidra.trace.model.modules
Interface TraceStaticMapping
- All Superinterfaces:
TraceUniqueObject
- All Known Implementing Classes:
DBTraceStaticMapping
A mapped range from this trace to a Ghidra
Program-
Method Summary
Modifier and TypeMethodDescriptionbooleanconflictsWith(AddressRange range, Lifespan lifespan, URL toProgramURL, String toAddress) Check if this mapping would conflict with the given prospective mappingvoiddelete()Remove this mapping from the "from" tracelongGet the ending snap of the lifespanlongGet the length of the mapping, i.e., the length of the rangeGet the span of time of the mappingGet the "from" range's maximum addressGet the "from" range's minimum addresslonggetShift()Get the shift in offset from static program to dynamic tracelongGet the starting snap of the lifespanGet the "to" address range's minimum address, as a stringGet the Ghidra URL of the "to"Program, i.e., static imagegetTrace()Get the "from" trace, i.e., the trace containing this mappingGet the "from" rangeMethods inherited from interface ghidra.trace.model.TraceUniqueObject
getObjectKey, isDeleted
-
Method Details
-
getTrace
Trace getTrace()Get the "from" trace, i.e., the trace containing this mapping- Returns:
- the trace
-
getTraceAddressRange
AddressRange getTraceAddressRange()Get the "from" range- Returns:
- the range
-
getMinTraceAddress
Address getMinTraceAddress()Get the "from" range's minimum address- Returns:
- the minimum address
-
getMaxTraceAddress
Address getMaxTraceAddress()Get the "from" range's maximum address- Returns:
- the maximum address
-
getLength
long getLength()Get the length of the mapping, i.e., the length of the range- Returns:
- the length, where 0 indicates
1 << 64
-
getShift
long getShift()Get the shift in offset from static program to dynamic trace- Returns:
- the shift
-
getLifespan
Lifespan getLifespan()Get the span of time of the mapping- Returns:
- the lifespan
-
getStartSnap
long getStartSnap()Get the starting snap of the lifespan- Returns:
- the start snap
-
getEndSnap
long getEndSnap()Get the ending snap of the lifespan- Returns:
- the end snap
-
getStaticProgramURL
URL getStaticProgramURL()Get the Ghidra URL of the "to"Program, i.e., static image- Returns:
- the program URL
-
getStaticAddress
String getStaticAddress()Get the "to" address range's minimum address, as a string- Returns:
- the address string
-
delete
void delete()Remove this mapping from the "from" trace -
conflictsWith
Check if this mapping would conflict with the given prospective mapping- Parameters:
range- the range in the trace ("from")lifespan- the span of time in the tracetoProgramURL- the (Ghidra) URL of the static image ("to")toAddress- the starting address (in string form) in the staic image ("to")- Returns:
- true if this mapping conflicts.
- See Also:
-