Package ghidra.trace.model.bookmark
Interface TraceBookmarkOperations
- All Known Subinterfaces:
TraceBookmarkManager,TraceBookmarkSpace
- All Known Implementing Classes:
DBTraceBookmarkManager,DBTraceBookmarkSpace
public interface TraceBookmarkOperations
-
Method Summary
Modifier and TypeMethodDescriptionaddBookmark(Lifespan lifespan, Address address, TraceBookmarkType type, String category, String comment) Add a bookmark at the given location.Collection<? extends TraceBookmark> Iterable<? extends TraceBookmark> getBookmarksAt(long snap, Address address) Iterable<? extends TraceBookmark> getBookmarksEnclosed(Lifespan lifespan, AddressRange range) Iterable<? extends TraceBookmark> getBookmarksIntersecting(Lifespan lifespan, AddressRange range) Get all the categories used for a given type
-
Method Details
-
getCategoriesForType
Get all the categories used for a given type- Parameters:
type- the bookmark type- Returns:
- the set of categories
-
addBookmark
TraceBookmark addBookmark(Lifespan lifespan, Address address, TraceBookmarkType type, String category, String comment) Add a bookmark at the given location. The category need not be created explicitly beforehand. It will be created implicitly if it does not already exist.- Parameters:
lifespan- the span of snaps to bookmarkaddress- the address to bookmarktype- the type of the bookmarkcategory- a category for the bookmarkcomment- a comment to add to the bookmark- Returns:
- the new bookmark
-
getAllBookmarks
Collection<? extends TraceBookmark> getAllBookmarks() -
getBookmarksAt
-
getBookmarksEnclosed
-
getBookmarksIntersecting
-