Skip to content

Commit

Permalink
Fix unassigned expression in globals.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rihi committed Dec 11, 2024
1 parent 368980c commit 5db09b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/frontend/binaryninja/handlers/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5db09b4

Please sign in to comment.