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

Method from_raw

rust/src/debuginfo.rs:111–115  ·  view source on GitHub ↗
(handle: *mut BNDebugInfoParser)

Source from the content-addressed store, hash-verified

109
110impl DebugInfoParser {
111 pub(crate) unsafe fn from_raw(handle: *mut BNDebugInfoParser) -> Ref<Self> {
112 debug_assert!(!handle.is_null());
113
114 Ref::new(Self { handle })
115 }
116
117 /// Returns debug info parser of the given name, if it exists
118 pub fn from_name<S: BnStrCompatible>(name: S) -> Result<Ref<Self>, ()> {

Callers

nothing calls this directly

Calls 4

raw_to_stringFunction · 0.85
mapMethod · 0.80
iterMethod · 0.45
to_ownedMethod · 0.45

Tested by

no test coverage detected