angr.knowledge_plugins.bookmarks¶
- class angr.knowledge_plugins.bookmarks.Bookmark¶
Bases:
objectA user-marked address with an optional label.
- __init__(addr, label='', created_at=None)¶
- addr
- label
- created_at
- class angr.knowledge_plugins.bookmarks.Bookmarks¶
Bases:
KnowledgeBasePlugin,listTracks bookmarks as a list of
Bookmark, in creation order.- add_bookmark(addr, label='')¶
Bookmark
addr, or relabel the bookmark already there iflabelis non-empty. Returns the bookmark and whether it was newly created.
- remove_bookmark(bookmark)¶
Remove
bookmarkif present. Returns whether it was removed.
- toggle_bookmark(addr, label='')¶
Add a bookmark at
addr, or remove the one already there. Returns the new one, if any.