summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 589d6505..56619f05 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -530,6 +530,16 @@ class HighLevelILInstruction(object):
return self.medium_level_il
@property
+ def low_level_il(self):
+ """Low level IL form of this expression"""
+ return self.mlil.llil
+
+ @property
+ def llil(self):
+ """Alias for low_level_il"""
+ return self.low_level_il
+
+ @property
def il_basic_block(self):
"""IL basic block object containing this expression (read-only) (only available on finalized functions)"""
return HighLevelILBasicBlock(self._function.source_function.view, core.BNGetHighLevelILBasicBlockForInstruction(self._function.handle, self._instr_index), self._function)