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 430e5934..9f23f45b 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -752,6 +752,9 @@ class LowLevelILFunction(object):
func_handle = self.source_function.handle
self.handle = core.BNCreateLowLevelILFunction(arch.handle, func_handle)
+ def __hash__(self):
+ return hash('LLIL') + hash(self.source_function)
+
def __del__(self):
if self.handle is not None:
core.BNFreeLowLevelILFunction(self.handle)