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

Method from

rust/src/medium_level_il/function.rs:645–653  ·  view source on GitHub ↗
(value: BNILReferenceSource)

Source from the content-addressed store, hash-verified

643
644impl From<BNILReferenceSource> for ILReferenceSource {
645 fn from(value: BNILReferenceSource) -> Self {
646 Self {
647 function: unsafe { Function::ref_from_raw(value.func) },
648 arch: unsafe { CoreArchitecture::from_raw(value.arch) },
649 addr: value.addr,
650 graph_type: value.type_,
651 expr_idx: value.exprId,
652 }
653 }
654}
655
656impl From<&BNILReferenceSource> for ILReferenceSource {

Callers

nothing calls this directly

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected