Package ghidra.trace.model.symbol
Interface TraceSymbolWithLifespan
- All Superinterfaces:
Symbol,TraceSymbol
- All Known Subinterfaces:
TraceLabelSymbol
- All Known Implementing Classes:
DBTraceLabelSymbol
A trace symbol having a lifespan.
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the maximum snapshot key in the lifespanGet the lifespan of the symbollongGet the minimum snapshot key in the lifespanvoidsetEndSnap(long snap) Set the maximum snapshot key in the lifespanMethods inherited from interface ghidra.program.model.symbol.Symbol
delete, getAddress, getID, getName, getName, getObject, getPath, getProgram, getProgramLocation, getReferenceCount, getSource, getSymbolType, hasReferences, isDeleted, isDescendant, isDynamic, isExternal, isExternalEntryPoint, isGlobal, isPrimary, isValidParent, setName, setNameAndNamespace, setNamespace, setPrimary, setSourceMethods inherited from interface ghidra.trace.model.symbol.TraceSymbol
getParentNamespace, getParentSymbol, getReferenceCollection, getReferences, getReferences, getThread, getTrace, isPinned, setPinned
-
Method Details
-
getLifespan
Lifespan getLifespan()Get the lifespan of the symbol- Returns:
- the lifespan
-
getStartSnap
long getStartSnap()Get the minimum snapshot key in the lifespan- Returns:
- the minimum snapshot key
-
setEndSnap
void setEndSnap(long snap) Set the maximum snapshot key in the lifespan- Parameters:
snap- the new maximum snapshot key
-
getEndSnap
long getEndSnap()Get the maximum snapshot key in the lifespan- Returns:
- the maximum snapshot key
-