Skip to content

Commit

Permalink
Fix symexec view (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin authored Mar 29, 2024
1 parent d49c7dd commit df144d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions angrmanagement/ui/views/symexec_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@


class SymexecView(InstanceView):
def __init__(self, workspace: Workspace, instance: Instance) -> None:
super().__init__("symexec", workspace, "right", instance)
def __init__(self, workspace: Workspace, default_docking_position: str, instance: Instance) -> None:
super().__init__("symexec", workspace, default_docking_position, instance)
assert not isinstance(self.instance, str)

self.base_caption = "Symbolic Execution"

Expand Down
2 changes: 1 addition & 1 deletion angrmanagement/ui/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,6 @@ def _get_or_create_view(self, category: str, view_type: type[T], position: str =
if view is None:
view = self.view_manager.first_view_in_category(category)
if view is None:
view = view_type(self, self._main_instance, position)
view = view_type(self, position, self._main_instance)
self.add_view(view)
return view

0 comments on commit df144d3

Please sign in to comment.