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/commonil.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/commonil.py') diff --git a/python/commonil.py b/python/commonil.py index 4a079f02..fdb6540e 100644 --- a/python/commonil.py +++ b/python/commonil.py @@ -23,6 +23,11 @@ from dataclasses import dataclass # This file contains a list of top level abstract classes for implementing BNIL instructions +@dataclass(frozen=True, repr=False) +class ILInstruction: + pass + + @dataclass(frozen=True, repr=False) class Constant: pass -- cgit v1.3.1