summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index c8db74b6..a98de6d3 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -792,6 +792,13 @@ class LowLevelILFunction(object):
return result
@property
+ def instructions(self):
+ """A generator of llil instructions of the current llil function"""
+ for block in self.basic_blocks:
+ for i in block:
+ yield i
+
+ @property
def ssa_form(self):
"""Low level IL in SSA form (read-only)"""
result = core.BNGetLowLevelILSSAForm(self.handle)