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

Method root_component

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

Source from the content-addressed store, hash-verified

1474 }
1475
1476 fn root_component(&self) -> Option<Ref<Component>> {
1477 let result = unsafe { BNGetRootComponent(self.as_ref().handle) };
1478 NonNull::new(result).map(|h| unsafe { Component::ref_from_raw(h) })
1479 }
1480
1481 fn component_by_path<P: BnStrCompatible>(&self, path: P) -> Option<Ref<Component>> {
1482 let path = path.into_bytes_with_nul();

Callers 2

remove_componentMethod · 0.45
test_component_creationFunction · 0.45

Implementers 1

binary_view.rsrust/src/binary_view.rs

Calls 2

mapMethod · 0.80
as_refMethod · 0.45

Tested by 1

test_component_creationFunction · 0.36