当前位置: 首页>>代码示例>>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;未经允许,请勿转载。