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

Method first_parent

python/database.py:167–172  ·  view source on GitHub ↗

Get the first parent of the snapshot, or None if it has no parents (read-only)

(self)

Source from the content-addressed store, hash-verified

165
166 @property
167 def first_parent(self) -> Optional['Snapshot']:
168 """Get the first parent of the snapshot, or None if it has no parents (read-only)"""
169 handle = core.BNGetSnapshotFirstParent(self.handle)
170 if handle is None:
171 return None
172 return Snapshot(handle=handle)
173
174 @property
175 def parents(self) -> List['Snapshot']:

Callers

nothing calls this directly

Calls 1

SnapshotClass · 0.70

Tested by

no test coverage detected