angr.knowledge_plugins.rtdb¶
- class angr.knowledge_plugins.rtdb.RuntimeDb
Bases:
KnowledgeBasePluginExternal storage-backed database for angr knowledge base plugins.
- __init__(kb, lmdb_path=None)
- Parameters:
kb (KnowledgeBase)
lmdb_path (str | None)
- Return type:
None
- increase_lmdb_map_size()
Increase the LMDB map size.
Note that the old database handle may no longer be valid after a map size increase. rhelmot could reproduce the error “Database handle belongs to another environment.” in nix + CPython 3.13.13. Reopening all databases after increasing LMDB map size solves this issue.
- Return type:
- reopen_lmdb()
Reopen the existing LMDB environment and all open databases in self._dbs.
- reopen_lmdb_databases()
- cleanup()
Submodules