summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index a88182a7..430e5934 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -780,6 +780,9 @@ class LowLevelILFunction(object):
arch = self.arch
core.BNLowLevelILSetCurrentAddress(self.handle, arch.handle, value)
+ def set_current_source_block(self, block):
+ core.BNLowLevelILSetCurrentSourceBlock(self.handle, block.handle)
+
@property
def temp_reg_count(self):
"""Number of temporary registers (read-only)"""