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

Method register_setting_json

rust/src/settings.rs:611–626  ·  view source on GitHub ↗
(
        &self,
        group: S1,
        properties: S2,
    )

Source from the content-addressed store, hash-verified

609 }
610
611 pub fn register_setting_json<S1: BnStrCompatible, S2: BnStrCompatible>(
612 &self,
613 group: S1,
614 properties: S2,
615 ) -> bool {
616 let group = group.into_bytes_with_nul();
617 let properties = properties.into_bytes_with_nul();
618
619 unsafe {
620 BNSettingsRegisterSetting(
621 self.handle,
622 group.as_ref().as_ptr() as *mut _,
623 properties.as_ref().as_ptr() as *mut _,
624 )
625 }
626 }
627
628 // TODO: register_setting but type-safely turn it into json
629}

Callers 4

init_pluginFunction · 0.80
CorePluginInitFunction · 0.80
registerMethod · 0.80
registerMethod · 0.80

Calls 2

into_bytes_with_nulMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected