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

Method instruction_from_index

rust/src/low_level_il/function.rs:128–137  ·  view source on GitHub ↗
(
        &self,
        index: LowLevelInstructionIndex,
    )

Source from the content-addressed store, hash-verified

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 {

Callers 2

startMethod · 0.45
nextMethod · 0.45

Calls 1

instruction_countMethod · 0.45

Tested by

no test coverage detected