diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-08-26 16:10:45 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-08-26 16:10:45 -0400 |
| commit | 2eb887d250f1946376bc83305bbc7da5f9d12c6a (patch) | |
| tree | a65866c94845434892c72413dddd5325f7b9e619 /python | |
| parent | 18358328e51883e6658828d39be0f9c45a0d3094 (diff) | |
implement hash for CoreDataVariable
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 3 |
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 |
