summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index dfa7aaf6..c359a79c 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -57,6 +57,9 @@ class ILRegister(object):
def __repr__(self):
return self.name
+ def __eq__(self, other):
+ return self.info == other.info
+
class ILFlag(object):
def __init__(self, arch, flag):