diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 33983045..449d38cb 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -5615,7 +5615,7 @@ class BinaryView: raise ValueError(error_str) return variable.PossibleValueSet(self.arch, result) - def get_type_by_name(self, name): + def get_type_by_name(self, name:'types.QualifiedName') -> Optional['types.Type']: """ ``get_type_by_name`` returns the defined type whose name corresponds with the provided ``name`` @@ -7587,6 +7587,9 @@ class DataVariable: # elif t.type_class == TypeClass.WideCharTypeClass: + @value.setter + def value(self, value:bytes) -> None: + self.view.write(self.address, value) @property def type(self) -> '_types.Type': |
