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,