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

Method files

rust/src/project.rs:630–635  ·  view source on GitHub ↗

Get a list of files in the project

(&self)

Source from the content-addressed store, hash-verified

628
629 /// Get a list of files in the project
630 pub fn files(&self) -> Array<ProjectFile> {
631 let mut count = 0;
632 let result = unsafe { BNProjectGetFiles(self.handle.as_ptr(), &mut count) };
633 assert!(!result.is_null());
634 unsafe { Array::new(result, count, ()) }
635 }
636
637 /// Retrieve a file in the project by unique `id`
638 pub fn file_by_id<S: BnStrCompatible>(&self, id: S) -> Option<Ref<ProjectFile>> {

Callers 2

temp_project_scopeFunction · 0.45
modify_projectFunction · 0.45

Calls

no outgoing calls

Tested by 2

temp_project_scopeFunction · 0.36
modify_projectFunction · 0.36