mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 23:59:48 -08:00
@@ -20,6 +20,7 @@ import capa.rules
|
|||||||
import capa.ida.helpers
|
import capa.ida.helpers
|
||||||
import capa.render.utils as rutils
|
import capa.render.utils as rutils
|
||||||
import capa.features.extractors.ida
|
import capa.features.extractors.ida
|
||||||
|
from capa.ida.plugin.icon import QICON
|
||||||
from capa.ida.plugin.view import CapaExplorerQtreeView
|
from capa.ida.plugin.view import CapaExplorerQtreeView
|
||||||
from capa.ida.plugin.hooks import CapaExplorerIdaHooks
|
from capa.ida.plugin.hooks import CapaExplorerIdaHooks
|
||||||
from capa.ida.plugin.model import CapaExplorerDataModel
|
from capa.ida.plugin.model import CapaExplorerDataModel
|
||||||
@@ -28,8 +29,6 @@ from capa.ida.plugin.proxy import CapaExplorerSortFilterProxyModel
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
settings = ida_settings.IDASettings("capa")
|
settings = ida_settings.IDASettings("capa")
|
||||||
|
|
||||||
ICON_PATH = os.path.join(os.path.dirname(__file__), "img", "capa_icon.png")
|
|
||||||
|
|
||||||
|
|
||||||
class CapaExplorerForm(idaapi.PluginForm):
|
class CapaExplorerForm(idaapi.PluginForm):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
@@ -58,7 +57,7 @@ class CapaExplorerForm(idaapi.PluginForm):
|
|||||||
def OnCreate(self, form):
|
def OnCreate(self, form):
|
||||||
""" """
|
""" """
|
||||||
self.parent = self.FormToPyQtWidget(form)
|
self.parent = self.FormToPyQtWidget(form)
|
||||||
self.parent.setWindowIcon(QtGui.QIcon(ICON_PATH))
|
self.parent.setWindowIcon(QICON)
|
||||||
self.load_interface()
|
self.load_interface()
|
||||||
self.load_capa_results()
|
self.load_capa_results()
|
||||||
self.load_ida_hooks()
|
self.load_ida_hooks()
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Submodule tests/data updated: afd4177aa9...c3a35d4b64
Reference in New Issue
Block a user