From 5db09b4c605d673de7462e3924120b1db15ac653 Mon Sep 17 00:00:00 2001 From: rihi <19492038+rihi@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:42:04 +0100 Subject: [PATCH] Fix unassigned expression in globals.py --- decompiler/frontend/binaryninja/handlers/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decompiler/frontend/binaryninja/handlers/globals.py b/decompiler/frontend/binaryninja/handlers/globals.py index ed959d78..57e5eb78 100644 --- a/decompiler/frontend/binaryninja/handlers/globals.py +++ b/decompiler/frontend/binaryninja/handlers/globals.py @@ -255,7 +255,7 @@ def _lift_pointer_type( if not addr_in_section(self._view, variable.value): init_value = Constant(variable.value, vartype=Integer(self._view.address_size * BYTE_SIZE, False)) else: - self._lifter.lift(self._view.get_data_var_at(variable.value), view=self._view, callers=callers) + init_value = self._lifter.lift(self._view.get_data_var_at(variable.value), view=self._view, callers=callers) return self._build_global_variable( name=self._lifter.lift(variable.symbol).name if variable.symbol else None,