summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index c4e77af2..0808b8ad 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -36,7 +36,7 @@ from . import variable
from . import architecture
from . import binaryview
from .interaction import show_graph_report
-from .commonil import (ILInstruction, Constant, BinaryOperation, UnaryOperation, Comparison, SSA,
+from .commonil import (BaseILInstruction, Constant, BinaryOperation, UnaryOperation, Comparison, SSA,
Phi, FloatingPoint, ControlFlow, Terminal, Call, Syscall, Tailcall, Return,
Signed, Arithmetic, Carry, DoublePrecision, Memory, Load, Store, RegisterStack, SetVar)
@@ -106,7 +106,7 @@ class CoreMediumLevelILInstruction:
@dataclass(frozen=True)
-class MediumLevelILInstruction(ILInstruction):
+class MediumLevelILInstruction(BaseILInstruction):
"""
``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.
@@ -255,7 +255,7 @@ class MediumLevelILInstruction(ILInstruction):
def show_mlil_hierarchy():
graph = flowgraph.FlowGraph()
nodes = {}
- for instruction in ILOperations.values():
+ for instruction in ILInstruction.values():
instruction.add_subgraph(graph, nodes)
show_graph_report("MLIL Class Hierarchy Graph", graph)