binaryninja::headless

Function init

source
pub fn init() -> Result<(), InitializationError>
Expand description

Loads plugins, core architecture, platform, etc.

⚠️ Important! Must be called at the beginning of scripts. Plugins do not need to call this. ⚠️

The preferred method for core initialization is Session, use that instead of this where possible.

If you need to customize initialization, use init_with_opts instead.