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

Function load

rust/src/lib.rs:120–122  ·  view source on GitHub ↗

The main way to open and load files into Binary Ninja. Make sure you've properly initialized the core before calling this function. See [`crate::headless::init()`]

(file_path: impl AsRef<Path>)

Source from the content-addressed store, hash-verified

118
119/// The main way to open and load files into Binary Ninja. Make sure you've properly initialized the core before calling this function. See [`crate::headless::init()`]
120pub fn load(file_path: impl AsRef<Path>) -> Option<Ref<BinaryView>> {
121 load_with_progress(file_path, NoProgressCallback)
122}
123
124/// Equivalent to [`load`] but with a progress callback.
125///

Callers 15

loadMethod · 0.70
test_hlil_infoFunction · 0.50
test_project_syncFunction · 0.50
test_binary_loadingFunction · 0.50
test_binary_savingFunction · 0.50
test_mlil_infoFunction · 0.50
test_base_detectionFunction · 0.50
test_binary_reader_seekFunction · 0.50
test_binary_reader_readFunction · 0.50
test_component_creationFunction · 0.50

Calls 1

load_with_progressFunction · 0.85

Tested by 15

test_hlil_infoFunction · 0.40
test_project_syncFunction · 0.40
test_binary_loadingFunction · 0.40
test_binary_savingFunction · 0.40
test_mlil_infoFunction · 0.40
test_base_detectionFunction · 0.40
test_binary_reader_seekFunction · 0.40
test_binary_reader_readFunction · 0.40
test_component_creationFunction · 0.40
test_binary_writer_seekFunction · 0.40