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

Method current_snapshot

python/database.py:276–281  ·  view source on GitHub ↗

Get the current snapshot

(self)

Source from the content-addressed store, hash-verified

274
275 @property
276 def current_snapshot(self) -> Optional[Snapshot]:
277 """Get the current snapshot"""
278 snap = core.BNGetDatabaseCurrentSnapshot(self.handle)
279 if snap is None:
280 return None
281 return Snapshot(handle=snap)
282
283 @current_snapshot.setter
284 def current_snapshot(self, value: Snapshot):

Callers

nothing calls this directly

Calls 1

SnapshotClass · 0.70

Tested by

no test coverage detected