コード例 #1
0
ファイル: CustomWidget.py プロジェクト: carlosgprado/JARVIS
 def _treeElementDoubleClicked(self, item, column):
     """
     QTreeWidgetElement callback. Basically it jumps to
     the selected address in IDA disassembly window.
     """
     try:
         # Only interested in addresses
         addr_int = int(item.text(column), 16)
         jump_to_address(addr_int)
         # Paint some color
         item.setBackground(column, QColor('green'))
     except Exception as e:
         self._console_output("[!] That does not look like an address...", err = True)
コード例 #2
0
ファイル: CustomWidget.py プロジェクト: carlosgprado/JARVIS
    def _tableCellDoubleClicked(self, row, col):
        """
        Most of the info displayed in QTableWidgets represent addresses.
        Default action: try to jump to it.
        """
        it = self.table.item(row, col).text()

        try:
            addr = int(it, 16)
            jump_to_address(addr)

        except ValueError:
            self._console_output("[!] That does not look like an address...", err = True)
            return
コード例 #3
0
 def _treeElementDoubleClicked(self, item, column):
     """
     QTreeWidgetElement callback. Basically it jumps to
     the selected address in IDA disassembly window.
     """
     try:
         # Only interested in addresses
         addr_int = int(item.text(column), 16)
         jump_to_address(addr_int)
         # Paint some color
         item.setBackground(column, QColor('green'))
     except Exception as e:
         self._console_output("[!] That does not look like an address...",
                              err=True)
コード例 #4
0
ファイル: CustomWidget.py プロジェクト: olivierh59500/JARVIS
    def _tableCellDoubleClicked(self, row, col):
        """
        Most of the info displayed in QTableWidgets represent addresses.
        Default action: try to jump to it.
        """
        it = self.table.item(row, col).text()

        try:
            addr = int(it, 16)
            jump_to_address(addr)

        except ValueError:
            self._console_output("[!] That does not look like an address...",
                                 err=True)
            return