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

Method default_platform

rust/src/binary_view.rs:358–368  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

356 }
357
358 fn default_platform(&self) -> Option<Ref<Platform>> {
359 unsafe {
360 let raw = BNGetDefaultPlatform(self.as_ref().handle);
361
362 if raw.is_null() {
363 return None;
364 }
365
366 Some(Platform::ref_from_raw(raw))
367 }
368 }
369
370 fn set_default_platform(&self, plat: &Platform) {
371 unsafe {

Callers 8

fmtMethod · 0.80
test_debug_infoFunction · 0.80
test_llil_visitorFunction · 0.80
newMethod · 0.80
load_sibling_debug_fileFunction · 0.80
actionMethod · 0.80
actionMethod · 0.80
actionMethod · 0.80

Implementers 1

binary_view.rsrust/src/binary_view.rs

Calls 1

as_refMethod · 0.45

Tested by 2

test_debug_infoFunction · 0.64
test_llil_visitorFunction · 0.64