From 5684347b252ded70745185415513d45a8a4a6191 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 27 Jan 2022 14:41:32 -0500 Subject: Add LowLevelILConstantBase.__hash__ --- python/lowlevelil.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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) -- cgit v1.3.1