diff options
| author | Peter LaFosse <peter@vector35.com> | 2019-01-29 23:33:25 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2019-01-29 23:33:25 -0500 |
| commit | c6cc26af85cf4b1cede5833f61299da429ba76e2 (patch) | |
| tree | 5a6f81cda97ef7c11803ed2f3b69149e91ff6856 /python/mediumlevelil.py | |
| parent | 6c2ae47c4e88c5fe5fc1cbd987fbd5aac9b38239 (diff) | |
Add short alises for low_level_il (llil) and medium_level_il (mlil)
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 90b73e7f..a6867c60 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -387,6 +387,11 @@ class MediumLevelILInstruction(object): 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""" return core.BNGetMediumLevelILSSAMemoryVersionAtILInstruction(self.function.handle, self.instr_index) @@ -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) |
