summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-09-27 23:20:17 -0400
committerBrian Potchik <brian@vector35.com>2020-09-27 23:20:17 -0400
commit0ff1794278a96d0b5c23a0fc0280d1faf5687a94 (patch)
tree3f6004fcf8450a46bd91e44f0636cbc49c70a832 /python/highlevelil.py
parentba41ea9735bd55328a4e2b6c65fdbdb245b9ccad (diff)
Add High Level IL Mappings.
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)