diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-12-12 13:26:52 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-12-12 13:26:52 -0500 |
| commit | 01a9eb27ea90e62476bb368f1e418745777f24b5 (patch) | |
| tree | 6cfb365b8208f9f39137db77d54473b5599a5310 /python/lowlevelil.py | |
| parent | ce132a1c7937b494711eee2a5596b16ecfa1993d (diff) | |
deprecate current_function.medium_level_il in favor of .mlil and move .instructions to mlil instead of main function -- likewise for llil
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 7 |
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) |
