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

Method variable_uses

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

Source from the content-addressed store, hash-verified

517 }
518
519 pub fn variable_uses(&self, variable: &Variable) -> Array<MediumLevelILInstruction> {
520 let mut count = 0;
521 let raw_var = BNVariable::from(variable);
522 let uses = unsafe { BNGetMediumLevelILVariableUses(self.handle, &raw_var, &mut count) };
523 unsafe { Array::new(uses, count, self.to_owned()) }
524 }
525
526 /// Computes the list of instructions for which `var` is live.
527 /// If `include_last_use` is false, the last use of the variable will not be included in the

Callers

nothing calls this directly

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected