diff options
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 6cc2c642..c3f6963a 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -554,6 +554,10 @@ class LowLevelILInstruction(object): return binaryninja.mediumlevelil.MediumLevelILInstruction(self.function.medium_level_il, expr) @property + def mlil(self): + return self.medium_level_il + + @property def mapped_medium_level_il(self): """Gets the mapped medium level IL expression corresponding to this expression""" expr = self.function.get_mapped_medium_level_il_expr_index(self.expr_index) @@ -562,6 +566,10 @@ class LowLevelILInstruction(object): return binaryninja.mediumlevelil.MediumLevelILInstruction(self.function.mapped_medium_level_il, expr) @property + def mmlil(self): + return self.mapped_medium_level_il + + @property def value(self): """Value of expression if constant or a known value (read-only)""" value = core.BNGetLowLevelILExprValue(self.function.handle, self.expr_index) @@ -813,6 +821,10 @@ class LowLevelILFunction(object): return binaryninja.mediumlevelil.MediumLevelILFunction(self.arch, result, self.source_function) @property + def mlil(self): + return self.medium_level_il + + @property def mapped_medium_level_il(self): """Medium level IL with mappings between low level IL and medium level IL. Unused stores are not removed. Typically, this should only be used to answer queries on assembly or low level IL where the query is @@ -822,6 +834,10 @@ class LowLevelILFunction(object): return None return binaryninja.mediumlevelil.MediumLevelILFunction(self.arch, result, self.source_function) + @property + def mmlil(self): + return self.mapped_medium_level_il + def __setattr__(self, name, value): try: object.__setattr__(self, name, value) |
