Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, project):
super(ProjectExplorerWidget, self).__init__()
self.project = project
self._tform = None
self._qwidget = None
self._ui = None
def create_proj_explorer(self, project):
"""Creates the project explorer "sidebar" widget."""
self.project_explorer = ProjectExplorerWidget(project)
self.project_explorer.Show("continuum project")
self.project_explorer.refresh_project_clicked.connect(self.refresh_project)
self.project_explorer.focus_instance_clicked.connect(
lambda idb_path: self.core.client.send_focus_instance(idb_path)
)
idaapi.set_dock_pos("continuum project", "Functions window", idaapi.DP_BOTTOM)