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

Method variable_definitions

rust/src/medium_level_il/function.rs:511–517  ·  view source on GitHub ↗
(&self, variable: &Variable)

Source from the content-addressed store, hash-verified

509 }
510
511 pub fn variable_definitions(&self, variable: &Variable) -> Array<MediumLevelILInstruction> {
512 let mut count = 0;
513 let raw_var = BNVariable::from(variable);
514 let defs =
515 unsafe { BNGetMediumLevelILVariableDefinitions(self.handle, &raw_var, &mut count) };
516 unsafe { Array::new(defs, count, self.to_owned()) }
517 }
518
519 pub fn variable_uses(&self, variable: &Variable) -> Array<MediumLevelILInstruction> {
520 let mut count = 0;

Callers

nothing calls this directly

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected