Public Member Functions

com.google.security.zynamics.binnavi.API.debug.BookmarkManager Class Reference

List of all members.

Public Member Functions

void addBookmark (final Address address, final String description)
void addListener (final IBookmarkManagerListener listener)
Bookmark getBookmark (final Address address)
Bookmark getBookmark (final int index)
int getNumberOfBookmarks ()
void removeBookmark (final Address address)
void removeListener (final IBookmarkManagerListener listener)
String toString ()

Detailed Description

Keeps track of all known bookmarks of one debugger.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.debug.BookmarkManager.addBookmark ( final Address  address,
final String  description 
)

Creates a new bookmark with an address and a description.

Parameters:
address The address of the new bookmark.
description The description of the new bookmark.
void com.google.security.zynamics.binnavi.API.debug.BookmarkManager.addListener ( final IBookmarkManagerListener  listener  ) 

Adds an object that is notified about changes in the bookmark manager.

Parameters:
listener The listener object that is notified about changes in the bookmark manager.
Bookmark com.google.security.zynamics.binnavi.API.debug.BookmarkManager.getBookmark ( final int  index  ) 

Returns a bookmark identified by an index.

Parameters:
index The index of the bookmark. (0 <= index < getNumberOfBookmarks());
Returns:
The bookmark with the given index.
Bookmark com.google.security.zynamics.binnavi.API.debug.BookmarkManager.getBookmark ( final Address  address  ) 

Returns the bookmark at a given address.

Parameters:
address The address of the bookmark.
Returns:
The bookmark at the given address or null if there is no such address.
int com.google.security.zynamics.binnavi.API.debug.BookmarkManager.getNumberOfBookmarks (  ) 

Returns the number of bookmarks managed by the bookmark manager.

Returns:
The number of managed bookmarks.
void com.google.security.zynamics.binnavi.API.debug.BookmarkManager.removeBookmark ( final Address  address  ) 

Removes the memory bookmark at the given address.

Parameters:
address Address of the bookmark.
void com.google.security.zynamics.binnavi.API.debug.BookmarkManager.removeListener ( final IBookmarkManagerListener  listener  ) 

Removes a listener object from the bookmark manager.

Parameters:
listener The listener object to remove from the bookmark manager.
String com.google.security.zynamics.binnavi.API.debug.BookmarkManager.toString (  ) 

Returns a string representation of the bookmark manager.

Returns:
A string representation of the bookmark manager.