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

Method parent_view

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

Source from the content-addressed store, hash-verified

193 }
194
195 fn parent_view(&self) -> Option<Ref<BinaryView>> {
196 let raw_view_ptr = unsafe { BNGetParentView(self.as_ref().handle) };
197 match raw_view_ptr.is_null() {
198 false => Some(unsafe { BinaryView::ref_from_raw(raw_view_ptr) }),
199 true => None,
200 }
201 }
202
203 fn raw_view(&self) -> Option<Ref<BinaryView>> {
204 self.file().view_of_type("Raw")

Callers 1

saveMethod · 0.45

Implementers 1

binary_view.rsrust/src/binary_view.rs

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected