diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-10-26 12:11:24 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-11-05 10:30:12 -0400 |
| commit | 9290bd614d83b389ba0c1159379d3d357c658b1e (patch) | |
| tree | 08153d292c0d4599ccd9f72ac872680933c75890 /python/mediumlevelil.py | |
| parent | 54f253ac5c3d4916e9ce5fca6816be7fd1c7de27 (diff) | |
Make all ILInstructions inherit from the same abstract base class
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 202bc036..3a37bb6a 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -35,7 +35,7 @@ from . import flowgraph from . import variable from . import architecture from . import binaryview -from .commonil import (Constant, BinaryOperation, UnaryOperation, Comparison, SSA, +from .commonil import (ILInstruction, Constant, BinaryOperation, UnaryOperation, Comparison, SSA, Phi, FloatingPoint, ControlFlow, Terminal, Call, Syscall, Tailcall, Return, Signed, Arithmetic, Carry, DoublePrecision, Memory, Load, Store, RegisterStack, SetVar) @@ -105,7 +105,7 @@ class CoreMediumLevelILInstruction: @dataclass(frozen=True) -class MediumLevelILInstruction: +class MediumLevelILInstruction(ILInstruction): """ ``class MediumLevelILInstruction`` Medium Level Intermediate Language Instructions are infinite length tree-based instructions. Tree-based instructions use infix notation with the left hand operand being the destination operand. |
