From 9290bd614d83b389ba0c1159379d3d357c658b1e Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 26 Oct 2021 12:11:24 -0400 Subject: Make all ILInstructions inherit from the same abstract base class --- python/lowlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/lowlevelil.py') diff --git a/python/lowlevelil.py b/python/lowlevelil.py index f1756692..80349987 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -35,7 +35,7 @@ from . import variable from . import binaryview from . import architecture from . import types -from .commonil import (Constant, BinaryOperation, UnaryOperation, Comparison, SSA, +from .commonil import (ILInstruction, Constant, BinaryOperation, UnaryOperation, Comparison, SSA, Phi, FloatingPoint, ControlFlow, Terminal, Call, StackOperation, Return, Signed, Arithmetic, Carry, DoublePrecision, Memory, Load, Store, RegisterStack, SetReg) @@ -299,7 +299,7 @@ class CoreLowLevelILInstruction: @dataclass(frozen=True) -class LowLevelILInstruction: +class LowLevelILInstruction(ILInstruction): """ ``class LowLevelILInstruction`` Low 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. -- cgit v1.3.1