Beispiel #1
0
 def handler_find_bytes(self):
     accept, input = InputDialog().input(self.app_window,
                                         'find bytes',
                                         placeholder='ff b3 ac 9d 0f ...')
     if accept:
         self.action_find_bytes.setEnabled(False)
         SearchPanel.bytes_search_panel(self.app_window.get_app_instance(),
                                        input)
Beispiel #2
0
    def handler_find_bytes(self):
        # invalidate modules list filter
        self._bytes_find_modules_list = None

        accept, input = InputDialog().input(self.app_window, 'find bytes',
                                            placeholder='ff b3 ac 9d 0f ...',
                                            options_callback=self.handler_find_bytes_options)
        if accept:
            self.action_find_bytes.setEnabled(False)
            SearchPanel.bytes_search_panel(self.app_window.get_app_instance(), input,
                                           self._bytes_find_modules_list)

        # invalidate it once again
        self._bytes_find_modules_list = None