diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-06-23 09:43:53 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-05 10:08:09 -0400 |
| commit | 8605213659115157e4ab0bf1c24783c4a896d025 (patch) | |
| tree | 9a44a23a93cc4bcfc15a714d7289eddef46f962b /python/binaryview.py | |
| parent | 6de4900db74a341fddfda46f7cb4342fdc31f8e0 (diff) | |
Refactor RegisterValue class into multiple dataclasses which can be instantiated directly
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 93230056..4266e8a5 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -2074,7 +2074,7 @@ class BinaryView(object): def global_pointer_value(self): """Discovered value of the global pointer register, if the binary uses one (read-only)""" result = core.BNGetGlobalPointerValue(self.handle) - return variable.RegisterValue(self.arch, result.value, confidence = result.confidence) + return variable.RegisterValue.from_BNRegisterValue(result, self.arch) @property def parameters_for_analysis(self): |
