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

Method default_arch

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

Source from the content-addressed store, hash-verified

338 }
339
340 fn default_arch(&self) -> Option<CoreArchitecture> {
341 unsafe {
342 let raw = BNGetDefaultArchitecture(self.as_ref().handle);
343
344 if raw.is_null() {
345 return None;
346 }
347
348 Some(CoreArchitecture::from_raw(raw))
349 }
350 }
351
352 fn set_default_arch<A: Architecture>(&self, arch: &A) {
353 unsafe {

Callers 8

fmtMethod · 0.80
newMethod · 0.80
export_dwarfFunction · 0.80
parse_range_data_offsetsFunction · 0.80
translate_ephemeral_typeFunction · 0.80
import_til_sectionFunction · 0.80
to_bn_symbol_at_addressFunction · 0.80
actionMethod · 0.80

Implementers 1

binary_view.rsrust/src/binary_view.rs

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected