(
&self,
index: LowLevelInstructionIndex,
)
| 126 | } |
| 127 | |
| 128 | pub fn instruction_from_index( |
| 129 | &self, |
| 130 | index: LowLevelInstructionIndex, |
| 131 | ) -> Option<LowLevelILInstruction<A, M, F>> { |
| 132 | if index.0 >= self.instruction_count() { |
| 133 | None |
| 134 | } else { |
| 135 | Some(LowLevelILInstruction::new(self, index)) |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | pub fn instruction_count(&self) -> usize { |
| 140 | unsafe { |
no test coverage detected