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

Method file_contents

python/database.py:205–210  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

203
204 @property
205 def file_contents(self) -> databuffer.DataBuffer:
206 """Get a buffer of the raw data at the time of the snapshot (read-only)"""
207 assert self.has_contents
208 handle = core.BNGetSnapshotFileContents(self.handle)
209 assert handle is not None
210 return databuffer.DataBuffer(handle=handle)
211
212 @property
213 def file_contents_hash(self) -> databuffer.DataBuffer:

Callers

nothing calls this directly

Calls 1

DataBufferMethod · 0.80

Tested by

no test coverage detected