MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / __getitem__

Method __getitem__

python/database.py:249–250  ·  view source on GitHub ↗
(self, item: int)

Source from the content-addressed store, hash-verified

247 core.BNFreeDatabase(self.handle)
248
249 def __getitem__(self, item: int) -> Optional[Snapshot]:
250 return self.get_snapshot(item)
251
252 def get_snapshot(self, id: int) -> Optional[Snapshot]:
253 """Get a snapshot by its id, or None if no snapshot with that id exists"""

Callers

nothing calls this directly

Calls 1

get_snapshotMethod · 0.95

Tested by

no test coverage detected