(&self, variable: &Variable)
| 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 |