From c6cc26af85cf4b1cede5833f61299da429ba76e2 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 29 Jan 2019 23:33:25 -0500 Subject: Add short alises for low_level_il (llil) and medium_level_il (mlil) --- python/mediumlevelil.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'python/mediumlevelil.py') diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 90b73e7f..a6867c60 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -386,6 +386,11 @@ class MediumLevelILInstruction(object): return None return lowlevelil.LowLevelILInstruction(self.function.low_level_il.ssa_form, expr) + @property + def llil(self): + """Alias for low_level_il""" + return self.low_level_il + @property def ssa_memory_version(self): """Version of active memory contents in SSA form for this instruction""" @@ -693,6 +698,11 @@ class MediumLevelILFunction(object): return None return lowlevelil.LowLevelILFunction(self.arch, result, self.source_function) + @property + def llil(self): + """Alias for low_level_il""" + return self.low_level_il + def __setattr__(self, name, value): try: object.__setattr__(self, name, value) -- cgit v1.3.1