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 3810e742..42c34ee0 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -2171,6 +2171,9 @@ class LowLevelILBasicBlock(basicblock.BasicBlock):
"""Internal method by super to instantiante child instances"""
return LowLevelILBasicBlock(view, handle, self.il_function)
+ def __hash__(self):
+ return hash((self.start, self.end, self.il_function))
+
def LLIL_TEMP(n):
return n | 0x80000000