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

Method file_contents_hash

python/database.py:213–218  ·  view source on GitHub ↗

Get a hash of the data at the time of the snapshot (read-only)

(self)

Source from the content-addressed store, hash-verified

211
212 @property
213 def file_contents_hash(self) -> databuffer.DataBuffer:
214 """Get a hash of the data at the time of the snapshot (read-only)"""
215 assert self.has_contents
216 handle = core.BNGetSnapshotFileContentsHash(self.handle)
217 assert handle is not None
218 return databuffer.DataBuffer(handle=handle)
219
220 @property
221 def undo_entries(self):

Callers

nothing calls this directly

Calls 1

DataBufferMethod · 0.80

Tested by

no test coverage detected