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

Method instruction_from_index

rust/src/high_level_il/function.rs:26–35  ·  view source on GitHub ↗
(
        &self,
        index: HighLevelInstructionIndex,
    )

Source from the content-addressed store, hash-verified

24 }
25
26 pub fn instruction_from_index(
27 &self,
28 index: HighLevelInstructionIndex,
29 ) -> Option<HighLevelILInstruction> {
30 if index.0 >= self.instruction_count() {
31 None
32 } else {
33 Some(HighLevelILInstruction::new(self.to_owned(), index))
34 }
35 }
36
37 pub fn instruction_from_expr_index(
38 &self,

Callers 4

ssa_memory_definitionMethod · 0.45
nextMethod · 0.45
startMethod · 0.45

Calls 2

instruction_countMethod · 0.45
to_ownedMethod · 0.45

Tested by

no test coverage detected