(&self)
| 115 | M: FunctionMutability, |
| 116 | { |
| 117 | fn kind(&self) -> LowLevelILExpressionKind<'func, A, M, SSA> { |
| 118 | #[allow(unused_imports)] |
| 119 | use binaryninjacore_sys::BNLowLevelILOperation::*; |
| 120 | let op = unsafe { BNGetLowLevelILByIndex(self.function.handle, self.index.0) }; |
| 121 | #[allow(clippy::match_single_binding)] |
| 122 | match op.operation { |
| 123 | // Any invalid ops for SSA will be checked here. |
| 124 | // SAFETY: We have checked for illegal operations. |
| 125 | _ => unsafe { LowLevelILExpressionKind::from_raw(self.function, op) }, |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | fn visit_tree<T>(&self, f: &mut T) -> VisitorAction |
| 130 | where |
no outgoing calls