diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-06-07 17:30:27 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-06-07 17:30:27 -0400 |
| commit | f0d1697cd7e49fb3889106f03e724d633e660a5f (patch) | |
| tree | b4586a6baf09448df13d586c790b37b604842ab9 /python/lowlevelil.py | |
| parent | 4de25b0c1eecb50f137f2623793d1dea0081e8a0 (diff) | |
Allow ILRegister's to be compared properly
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 3 |
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): |
