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

Method file

rust/src/database.rs:191–195  ·  view source on GitHub ↗

Get the owning FileMetadata

(&self)

Source from the content-addressed store, hash-verified

189
190 /// Get the owning FileMetadata
191 pub fn file(&self) -> Ref<FileMetadata> {
192 let result = unsafe { BNGetDatabaseFile(self.handle.as_ptr()) };
193 assert!(!result.is_null());
194 FileMetadata::ref_from_raw(result)
195 }
196
197 /// Get the backing analysis cache kvs
198 pub fn analysis_cache(&self) -> Ref<KeyValueStore> {

Callers 3

createMethod · 0.45
test_project_syncFunction · 0.45
test_debug_infoFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_project_syncFunction · 0.36
test_debug_infoFunction · 0.36