diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2019-09-26 11:21:20 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2019-09-26 11:21:20 -0400 |
| commit | d8bdba74b88658f1ebea959a958f1e955f355650 (patch) | |
| tree | d6661ba192aeaa991e92050847682fe545573286 /python/function.py | |
| parent | 587bc8026809212b813c22bb0a638e7a4302450f (diff) | |
fix RegisterValue unintialized properties
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/function.py b/python/function.py index d25a8747..4c1d1478 100644 --- a/python/function.py +++ b/python/function.py @@ -73,13 +73,13 @@ class LookupTableEntry(object): class RegisterValue(object): def __init__(self, arch = None, value = None, confidence = types.max_confidence): self._is_constant = False + self._value = None + self._arch = None + self._reg = None + self._is_constant = False + self._offset = None if value is None: self._type = RegisterValueType.UndeterminedValue - self._value = None - self._arch = None - self._reg = None - self._is_constant = False - self._offset = None else: self._type = RegisterValueType(value.state) if value.state == RegisterValueType.EntryValue: |
