From 902750648579d32cc83fbd91181ecea2c9e0c9e5 Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Mon, 11 Mar 2019 21:01:47 -0400 Subject: api: update to support getting source blocks from IL blocks --- python/lowlevelil.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/lowlevelil.py') 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)""" -- cgit v1.3.1