Package ghidra.trace.database.symbol
Class AbstractDBTraceSymbolSingleTypeWithLocationView<T extends AbstractDBTraceSymbol>
java.lang.Object
ghidra.trace.database.symbol.AbstractDBTraceSymbolSingleTypeView<T>
ghidra.trace.database.symbol.AbstractDBTraceSymbolSingleTypeWithLocationView<T>
- Direct Known Subclasses:
DBTraceLabelSymbolView
public abstract class AbstractDBTraceSymbolSingleTypeWithLocationView<T extends AbstractDBTraceSymbol>
extends AbstractDBTraceSymbolSingleTypeView<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected final AbstractDBTraceSymbolSingleTypeWithLocationView<T>.CacheForGetSymbolsAtQueriesFields inherited from class ghidra.trace.database.symbol.AbstractDBTraceSymbolSingleTypeView
manager, store, symbolsByName, symbolsByParentID, typeID, view -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDBTraceSymbolSingleTypeWithLocationView(DBTraceSymbolManager manager, byte typeID, DBCachedObjectStore<T> store) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends T> Get the symbols at the given snap and address, starting with the primarygetChildWithNameAt(String name, long snap, Address address, TraceNamespaceSymbol parent) Collection<? extends T> getIntersecting(Lifespan span, AddressRange range, boolean includeDynamicSymbols) Get intersecting things in no particular orderCollection<? extends T> getIntersecting(Lifespan span, AddressRange range, boolean includeDynamicSymbols, boolean forward) voidMethods inherited from class ghidra.trace.database.symbol.AbstractDBTraceSymbolSingleTypeView
constructView, getAll, getByKey, getChildren, getChildrenNamed, getManager, getNamed, getWithMatchingName, scanByName
-
Field Details
-
CACHE_SNAP_BREADTH
protected static final int CACHE_SNAP_BREADTH- See Also:
-
CACHE_ADDRESS_BREADTH
protected static final int CACHE_ADDRESS_BREADTH- See Also:
-
CACHE_MAX_POINTS
protected static final int CACHE_MAX_POINTS- See Also:
-
cacheForAt
protected final AbstractDBTraceSymbolSingleTypeWithLocationView<T extends AbstractDBTraceSymbol>.CacheForGetSymbolsAtQueries cacheForAt
-
-
Constructor Details
-
AbstractDBTraceSymbolSingleTypeWithLocationView
public AbstractDBTraceSymbolSingleTypeWithLocationView(DBTraceSymbolManager manager, byte typeID, DBCachedObjectStore<T> store)
-
-
Method Details
-
getChildWithNameAt
-
getAt
Get the symbols at the given snap and address, starting with the primary- Parameters:
snap- the snapshot keyaddress- the addressincludeDynamicSymbols- true to include dynamic symbols- Returns:
- the collection
-
getIntersecting
public Collection<? extends T> getIntersecting(Lifespan span, AddressRange range, boolean includeDynamicSymbols) Get intersecting things in no particular order- Parameters:
span- the span of snapshotsrange- the range of addressesincludeDynamicSymbols- true to include dynamic symbols- Returns:
- the collection
-
getIntersecting
public Collection<? extends T> getIntersecting(Lifespan span, AddressRange range, boolean includeDynamicSymbols, boolean forward) -
invalidateCache
public void invalidateCache()- Overrides:
invalidateCachein classAbstractDBTraceSymbolSingleTypeView<T extends AbstractDBTraceSymbol>
-