summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index c2c57cb4..27de05d2 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -9188,6 +9188,7 @@ class DataVariable(CoreDataVariable):
_type = value if value is not None else _types.VoidType.create()
assert self.view.define_user_data_var(self.address, _type) is not None, "Unable to set DataVariable's type"
self._type = _type
+ self._sdv = TypedDataAccessor(self.type, self.address, self.view, self.view.endianness)
@property
def symbol(self) -> Optional['_types.CoreSymbol']: