(&self, var: &Variable)
| 114 | } |
| 115 | |
| 116 | pub fn var_definitions(&self, var: &Variable) -> Array<MediumLevelILInstruction> { |
| 117 | let mut count = 0; |
| 118 | let raw_var = BNVariable::from(var); |
| 119 | let raw_instr_idxs = |
| 120 | unsafe { BNGetMediumLevelILVariableDefinitions(self.handle, &raw_var, &mut count) }; |
| 121 | assert!(!raw_instr_idxs.is_null()); |
| 122 | unsafe { Array::new(raw_instr_idxs, count, self.to_owned()) } |
| 123 | } |
| 124 | |
| 125 | pub fn create_user_stack_var<'a, S: BnStrCompatible, C: Into<Conf<&'a Type>>>( |
| 126 | self, |
no test coverage detected