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

Method folders

rust/src/project.rs:284–292  ·  view source on GitHub ↗

Get a list of folders in the project

(&self)

Source from the content-addressed store, hash-verified

282
283 /// Get a list of folders in the project
284 pub fn folders(&self) -> Result<Array<ProjectFolder>, ()> {
285 let mut count = 0;
286 let result = unsafe { BNProjectGetFolders(self.handle.as_ptr(), &mut count) };
287 if result.is_null() {
288 return Err(());
289 }
290
291 Ok(unsafe { Array::new(result, count, ()) })
292 }
293
294 /// Retrieve a folder in the project by unique folder `id`
295 pub fn folder_by_id<S: BnStrCompatible>(&self, id: S) -> Option<Ref<ProjectFolder>> {

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