Skip to content

Commit 5684347

Browse files
committed
Add LowLevelILConstantBase.__hash__
1 parent 77156d6 commit 5684347

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/lowlevelil.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,9 @@ def __le__(self, other:'LowLevelILConstantBase'):
10511051
def __ge__(self, other:'LowLevelILConstantBase'):
10521052
return self.constant >= other.constant
10531053

1054+
def __hash__(self):
1055+
return LowLevelILInstruction.__hash__(self)
1056+
10541057
@property
10551058
def constant(self) -> int:
10561059
return self._get_int(0)

0 commit comments

Comments
 (0)