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

Method wrap_raw

rust/src/medium_level_il/instruction.rs:1491–1497  ·  view source on GitHub ↗
(raw: &'a Self::Raw, context: &'a Self::Context)

Source from the content-addressed store, hash-verified

1489 }
1490
1491 unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, context: &'a Self::Context) -> Self::Wrapped<'a> {
1492 // TODO: This needs to be tested!!!!
1493 // TODO: What if this does not need to be mapped!!!!
1494 context
1495 .instruction_from_index(MediumLevelInstructionIndex(*raw))
1496 .unwrap()
1497 }
1498}
1499
1500#[derive(Debug, Copy, Clone)]

Callers

nothing calls this directly

Calls 3

cloneMethod · 0.45

Tested by

no test coverage detected