diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-03-24 09:16:53 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-03-24 09:16:53 -0400 |
| commit | 6a7313e8baea90d7603a51c6defea14f78a558d9 (patch) | |
| tree | 4a8ed33afcf637f27b834408235e0008c2f9c3a0 /python/function.py | |
| parent | c66b57e1ed1d9b38e6f5d0adefecc104d5a0eb72 (diff) | |
Fix get_all_user_var_values API
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py index 55d87fe7..9f63b650 100644 --- a/python/function.py +++ b/python/function.py @@ -2981,7 +2981,7 @@ class Function: var = variable.Variable.from_BNVariable(self, var_val.var) if var not in result: result[var] = {} - def_site = ArchAndAddr(var_val.defSite.arch, var_val.defSite.address) + def_site = ArchAndAddr(architecture.CoreArchitecture._from_cache(var_val.defSite.arch), var_val.defSite.address) result[var][def_site] = variable.PossibleValueSet(def_site.arch, var_val.value) return result finally: |
