summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-10-26 12:11:24 -0400
committerPeter LaFosse <peter@vector35.com>2021-11-05 10:30:12 -0400
commit9290bd614d83b389ba0c1159379d3d357c658b1e (patch)
tree08153d292c0d4599ccd9f72ac872680933c75890 /python/highlevelil.py
parent54f253ac5c3d4916e9ce5fca6816be7fd1c7de27 (diff)
Make all ILInstructions inherit from the same abstract base class
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index a71dc69c..0ae927e4 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -37,7 +37,7 @@ from . import types
from . import highlight
from . import flowgraph
from . import variable
-from .commonil import (Call, Tailcall, Syscall, Comparison, Signed, UnaryOperation, BinaryOperation,
+from .commonil import (ILInstruction, Call, Tailcall, Syscall, Comparison, Signed, UnaryOperation, BinaryOperation,
SSA, Phi, Loop, ControlFlow, Memory, Constant, Arithmetic, DoublePrecision, Terminal,
FloatingPoint)
@@ -128,7 +128,7 @@ class CoreHighLevelILInstruction:
@dataclass(frozen=True)
-class HighLevelILInstruction:
+class HighLevelILInstruction(ILInstruction):
"""
``class HighLevelILInstruction`` High Level Intermediate Language Instructions form an abstract syntax tree of
the code. Control flow structures are present as high level constructs in the HLIL tree.