summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-07-01 18:01:05 -0400
committerGlenn Smith <glenn@vector35.com>2025-07-01 23:23:20 -0400
commit7331610128610368846206388081524749722648 (patch)
treeaaf5747bb213d5600e84ad38a0c71dc405107a93 /python/lowlevelil.py
parent7323550247538688397481951258523679955041 (diff)
Python: get_instruction_index_for_expr for all ILs
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index ae2cc932..31d6bc0b 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -6230,7 +6230,7 @@ class LowLevelILFunction:
return InstructionIndex(result)
def get_expr_index_for_instruction(self, instr: InstructionIndex) -> ExpressionIndex:
- result = core.BNGetLowLevelILInstructionForExpr(self.handle, instr)
+ result = core.BNGetLowLevelILIndexForInstruction(self.handle, instr)
return ExpressionIndex(result)
def get_medium_level_il_instruction_index(self,