summaryrefslogtreecommitdiff
path: root/python/commonil.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/commonil.py
parent54f253ac5c3d4916e9ce5fca6816be7fd1c7de27 (diff)
Make all ILInstructions inherit from the same abstract base class
Diffstat (limited to 'python/commonil.py')
-rw-r--r--python/commonil.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/commonil.py b/python/commonil.py
index 4a079f02..fdb6540e 100644
--- a/python/commonil.py
+++ b/python/commonil.py
@@ -24,6 +24,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