當前位置: 首頁>>代碼示例>>Python>>正文


Python idaapi.PluginForm方法代碼示例

本文整理匯總了Python中idaapi.PluginForm方法的典型用法代碼示例。如果您正苦於以下問題:Python idaapi.PluginForm方法的具體用法?Python idaapi.PluginForm怎麽用?Python idaapi.PluginForm使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在idaapi的用法示例。


在下文中一共展示了idaapi.PluginForm方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: accepted

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def accepted(fclass, dialog):
            '''Registered callback for accept dialog action.

            Args:
                fclass (:obj:`idaapi.PluginForm`): The plugin form part of
                dialog (:obj:`FIRSTUI.*`): A dialog box object.
            '''
            if (isinstance(dialog, FIRSTUI.Upload)
                    or isinstance(dialog, FIRSTUI.UploadAll)):
                FIRST.Callbacks.Upload(dialog)

            elif (isinstance(dialog, FIRSTUI.Check)
                    or isinstance(dialog, FIRSTUI.CheckAll)):
                FIRST.Callbacks.check(dialog)

            elif isinstance(dialog, FIRSTUI.Welcome):
                FIRST.Callbacks.welcome(dialog) 
開發者ID:vrtadmin,項目名稱:FIRST-plugin-ida,代碼行數:19,代碼來源:first.py

示例2: tform_visible

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def tform_visible(self, form, hwnd):
                '''Shows the FIRST Welcome dialog box if required.'''
                if ((IDAW.BWN_DISASMS == IDAW.get_tform_type(form))
                    and FIRST.show_welcome):
                    parent = idaapi.PluginForm.FormToPyQtWidget(form)

                    welcome_dialog = FIRSTUI.Dialog(parent, FIRSTUI.Welcome)
                    welcome_dialog.registerSuccessCallback(FIRST.Callbacks.welcome)
                    welcome_dialog.show()
                    FIRST.show_welcome = False 
開發者ID:vrtadmin,項目名稱:FIRST-plugin-ida,代碼行數:12,代碼來源:first.py

示例3: Show

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def Show(self):
        return idaapi.PluginForm.Show(self, PLUGNAME, options = (
            idaapi.PluginForm.WOPN_TAB | idaapi.PluginForm.WCLS_CLOSE_LATER
        )) 
開發者ID:danigargu,項目名稱:heap-viewer,代碼行數:6,代碼來源:plugin_gui.py

示例4: Show

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def Show(self):

        return idaapi.PluginForm.Show(self,
                               "Value View",
                               options=idaapi.PluginForm.FORM_PERSIST) 
開發者ID:ynvb,項目名稱:DIE,代碼行數:7,代碼來源:ValueViewEx.py

示例5: Show

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def Show(self):
        return idaapi.PluginForm.Show(self, "T.A.C.O.", options=idaapi.PluginForm.FORM_PERSIST) 
開發者ID:jjo-sec,項目名稱:idataco,代碼行數:4,代碼來源:idataco.py

示例6: __init__

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def __init__(self, watch):
        idaapi.PluginForm.__init__(self)
        self.watch = watch
        self.isclosed = False
        self.callbacks = {} 
開發者ID:Tekiter,項目名稱:WatchDBG-IDA,代碼行數:7,代碼來源:watch.py

示例7: form

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def form(cls, twidget):
            '''Return an IDA plugin form as a UI widget.'''
            ns = idaapi.PluginForm
            return ns.FormToPyQtWidget(twidget) 
開發者ID:arizvisa,項目名稱:ida-minsc,代碼行數:6,代碼來源:ui.py

示例8: __init__

# 需要導入模塊: import idaapi [as 別名]
# 或者: from idaapi import PluginForm [as 別名]
def __init__(self, config_main, config_theme, tools, lvars, window_name):
        idaapi.PluginForm.__init__(self)
        self.config_main = config_main
        self.config_theme = config_theme
        self.tools = tools
        self.lvars = lvars
        self.window_name = window_name
        self.hl = None

        self.interface = None
        self.parent = None
        return 
開發者ID:ax330d,項目名稱:hrdev,代碼行數:14,代碼來源:gui.py


注:本文中的idaapi.PluginForm方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。