Example #1
0
    def Show(self):
        """Creates the form if not created or sets the focus if the form already exits.
        """

        return PluginForm.Show(self,
                               PLUGIN_NAME,
                               options=PluginForm.FORM_PERSIST)
Example #2
0
    def Show(self):
        """
        Creates the form and brings it to the front.
        """

        try:
            input_md5 = idc.retrieve_input_file_md5()
        except:
            input_md5 = idc.GetInputMD5()

        if input_md5 is None:
            return
        else:
            name = "{}".format(config['name'])

            try:
                options = PluginForm.WCLS_CLOSE_LATER |\
                        PluginForm.WCLS_SAVE |\
                        PluginForm.WOPN_RESTORE
            except:
                options = PluginForm.FORM_CLOSE_LATER |\
                          PluginForm.FORM_SAVE |\
                          PluginForm.FORM_RESTORE

            return PluginForm.Show(self, name, options=options)
Example #3
0
    def Show(self):
        # Reset highlighted items
        self.highligthed_items = []

        return PluginForm.Show(self,
                               "Function View",
                               options=PluginForm.FORM_PERSIST)
Example #4
0
    def show(self):
        PluginForm.Show(self, WINDOW_NAME)

        # Set up the refresh timer
        self.timer = QtCore.QTimer(self.parent)
        self.timer.timeout.connect(self.timer_update)
        self.timer.start(250) # every quarter second
        self.current_function = None
Example #5
0
    def Show(self) -> PluginForm.Show:
        """Creates the form if not created or sets the focus if the form already exits.
        """

        title = PLUGIN_NAME + " v" + __VERSION__
        return PluginForm.Show(self,
                               title,
                               options=PluginForm.WOPN_PERSIST)
Example #6
0
 def Show(self):
     if idc.GetInputMD5() == None:
         return
     else:
         return PluginForm.Show(
             self,
             NAME,
             options=(PluginForm.FORM_CLOSE_LATER | PluginForm.FORM_RESTORE
                      | PluginForm.FORM_SAVE))
Example #7
0
 def Show(self):
     if ida_nalt.retrieve_input_file_md5() is None:
         return
     else:
         return PluginForm.Show(
             self,
             NAME,
             options=(PluginForm.WCLS_CLOSE_LATER | PluginForm.WOPN_RESTORE
                      | PluginForm.WCLS_SAVE))
Example #8
0
    def Show(self):
        """Creates the form is not created or focuses it if it was"""
        tabName = 'Oregami'

        if self.tabMode:
            return PluginForm.Show(self, tabName)
        else:
            return _ida_kernwin.plgform_show(
                self.__clink__, self, tabName,
                PluginForm.FORM_CENTERED | PluginForm.FORM_PERSIST)
Example #9
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     try:
         tform = idaapi.find_tform("IDA View-A")
         w = idaapi.PluginForm.FormToPySideWidget(tform)
         w.setFocus()
     except:
         print 'Failed to set focus.'
     return PluginForm.Show(self,
                            "Function Statistics",
                            options=PluginForm.FORM_PERSIST)
Example #10
0
    def Show(self):
        if self.cc.ida_proxy.GetInputMD5() is None:
            return
        else:
            options = 0
            if self.cc.ida_proxy.idaapi.IDA_SDK_VERSION < 700:
                options = PluginForm.FORM_CLOSE_LATER | PluginForm.FORM_RESTORE | PluginForm.FORM_SAVE
            else:
                options = PluginForm.WCLS_CLOSE_LATER | PluginForm.WOPN_RESTORE | PluginForm.WCLS_SAVE

            return PluginForm.Show(self, NAME, options=options)
Example #11
0
    def Show(self):
        """
        Called when the plugin form is visible
        """

        if idc.GetInputMD5() == None:
            return
        else:
            return PluginForm.Show(
                self,
                NAME,
                options=(PluginForm.FORM_CLOSE_LATER | PluginForm.FORM_RESTORE
                         | PluginForm.FORM_SAVE))
Example #12
0
 def Show(self, text, title):
   self.text = text
   return PluginForm.Show(self, title)
Example #13
0
 def Show(self):
     '''
     Creates the form is not created or focuses it if it was.
     '''
     return PluginForm.Show(self, 'Functions+')
Example #14
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     return PluginForm.Show(self,
                            "Function Classes",
                            options=PluginForm.FORM_PERSIST)
Example #15
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     return PluginForm.Show(self,
                            "IDAngr Panel",
                            options=(PluginForm.FORM_TAB
                                     | PluginForm.FORM_CLOSE_LATER))
Example #16
0
 def Show(self):
     return PluginForm.Show(self, "qb-sync", options=PluginForm.FORM_PERSIST)
Example #17
0
 def Show(self):
     return PluginForm.Show(self, ".NIET", options=PluginForm.WOPN_PERSIST)
Example #18
0
 def Show(self):
     return PluginForm.Show(self,
                            "Breakpoint View",
                            options=PluginForm.FORM_PERSIST)
 def Show(self):
     '''Creates the form is not created or focuses it if it was.'''
     return PluginForm.Show(self, 'ClassDump')
Example #20
0
 def Show(self, title, classes):
     self.classes = classes
     return PluginForm.Show(self, title, options=PluginForm.FORM_PERSIST)
Example #21
0
 def Show(self, name):
     return PluginForm.Show(self, "Decompiled xrefs for: " + str(name))
Example #22
0
 def Show(self):
     return PluginForm.Show(self,
                            "Function Tags",
                            options=PluginForm.FORM_TAB)
Example #23
0
 def show(self):
     """Creates the form if not created or focuses it if it was"""
     return PluginForm.Show(self,
                            PLUGIN_NAME,
                            options=PluginForm.FORM_PERSIST)
Example #24
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     return PluginForm.Show(self,
                            "Results View",
                            options=PluginForm.FORM_PERSIST)
Example #25
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     return PluginForm.Show(self,
                            "Imports / Exports viewer",
                            options = PluginForm.FORM_PERSIST)
Example #26
0
 def Show(self):
     return PluginForm.Show(self,
                            "Pin Trace Information",
                            options=PluginForm.FORM_PERSIST)
Example #27
0
 def Show(self, title, d=None):
     self.d = d
     return PluginForm.Show(self, title, options=PluginForm.FORM_PERSIST)
Example #28
0
 def Show(self):
     """Creates the form is not created or focuses it if it was"""
     return PluginForm.Show(self,
                            "IDAngr Panel",
                            options = PluginForm.FORM_PERSIST)
Example #29
0
 def Show(self):
     return PluginForm.Show(self,
                            "ret-sync",
                            options=PluginForm.WOPN_PERSIST)
Example #30
0
    def Show(self):

        return PluginForm.Show(self,
                               "Value View",
                               options=PluginForm.FORM_PERSIST)