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

Method load

rust/src/headless.rs:374–376  ·  view source on GitHub ↗

```no_run let headless_session = binaryninja::headless::Session::new().unwrap(); let bv = headless_session .load("/bin/cat") .expect("Couldn't open `/bin/cat`"); ```

(&self, file_path: impl AsRef<Path>)

Source from the content-addressed store, hash-verified

372 /// .expect("Couldn't open `/bin/cat`");
373 /// ```
374 pub fn load(&self, file_path: impl AsRef<Path>) -> Option<Ref<binary_view::BinaryView>> {
375 crate::load(file_path)
376 }
377
378 /// Load the file with a progress callback, the callback will _only_ be called for BNDBs currently.
379 ///

Callers 13

lift_source_operandFunction · 0.45
instruction_llilMethod · 0.45
shutdownFunction · 0.45
is_validMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

loadFunction · 0.70

Tested by 1

is_validMethod · 0.36