diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-27 14:41:32 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-27 14:42:37 -0500 |
| commit | 5684347b252ded70745185415513d45a8a4a6191 (patch) | |
| tree | ffea703e30369f755779553686f37e17666f71c0 /python/lowlevelil.py | |
| parent | 77156d6c65296f6790e05937d904eea85247c408 (diff) | |
Add LowLevelILConstantBase.__hash__
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 e255b431..87eb5a34 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -1051,6 +1051,9 @@ class LowLevelILConstantBase(LowLevelILInstruction, Constant): def __ge__(self, other:'LowLevelILConstantBase'): return self.constant >= other.constant + def __hash__(self): + return LowLevelILInstruction.__hash__(self) + @property def constant(self) -> int: return self._get_int(0) |
