summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index efb843c3..aa570de5 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -8657,6 +8657,9 @@ class CoreDataVariable:
def __len__(self):
return len(self._type)
+ def __hash__(self):
+ return hash((self.type, self.address, self.auto_discovered))
+
@property
def type(self) -> '_types.Type':
return self._type