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

Method children

python/database.py:190–202  ·  view source on GitHub ↗

Get a list of all child snapshots of the snapshot (read-only)

(self)

Source from the content-addressed store, hash-verified

188
189 @property
190 def children(self) -> List['Snapshot']:
191 """Get a list of all child snapshots of the snapshot (read-only)"""
192 count = ctypes.c_ulonglong(0)
193 children = core.BNGetSnapshotChildren(self.handle, count)
194
195 result = []
196 try:
197 for i in range(0, count.value):
198 handle = core.BNNewSnapshotReference(children[i])
199 result.append(Snapshot(handle=handle))
200 return result
201 finally:
202 core.BNFreeSnapshotList(children, count)
203
204 @property
205 def file_contents(self) -> databuffer.DataBuffer:

Callers

nothing calls this directly

Calls 2

SnapshotClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected