Python idaapi.PluginForm.Show() Examples
The following are 21
code examples of idaapi.PluginForm.Show().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
idaapi.PluginForm
, or try the search function
.
Example #1
Source File: gui.py From DROP-IDA-plugin with GNU General Public License v3.0 | 6 votes |
def chooser_selection_changed(self): self.custom_edit.setText("") sel_sp = AddHookDialog.list_simprocedures[self.chooser_sim_procedure.currentText()] if sel_sp == "constant": # Show editbox for the value self.custom_label.setText("Specify the integer value to return: ") self.custom_edit.setText("42") self.custom_label.setVisible(True) self.custom_edit.setVisible(True) elif sel_sp == "redirect": # Show editbox for address self.custom_label.setText("Specify the address to redirect to: ") self.custom_edit.setText("0xDEADBEEF") self.custom_label.setVisible(True) self.custom_edit.setVisible(True) else: # Hide editbox self.custom_label.setVisible(False) self.custom_edit.setVisible(False)
Example #2
Source File: IDAgrapForm.py From grap with MIT License | 6 votes |
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
Source File: FunctionViewEx.py From DIE with MIT License | 6 votes |
def on_show_callgraph(self, function_context): if not isinstance(function_context, DIE.Lib.DIEDb.dbFunction_Context): if function_context is not None: raise ValueError("Wrong value sent to 'on_show_callgraph': %s. excpected dbFunction_Context" % function_context.__class__) else: raise ValueError("Wrong value sent to 'on_show_callgraph'") graph = nx.DiGraph() call_graph = self.die_db.get_call_graph_to(function_context) if not call_graph: idaapi.msg("No Execution Graph") return for ctxt_node in call_graph: (from_address, to_address) = ctxt_node graph.add_edge(from_address, to_address) function_name = self.die_db.get_function_name(function_context.function) viewer = sark.ui.NXGraph(graph, "Callgraph for {}".format(function_name), handler=sark.ui.AddressNodeHandler()) viewer.Show() return
Example #4
Source File: FunctionViewEx.py From DIE with MIT License | 5 votes |
def on_value_detail(self, value): if not self.value_view.isVisible(): self.value_view.Show() self.value_view.find_value(value) return
Example #5
Source File: gui.py From DROP-IDA-plugin with GNU General Public License v3.0 | 5 votes |
def btn_show_angr_graph_clicked(self): # Assume angr is loaded def mapping(node): b = self.plugin.angr_proj.factory.block(node.addr) return str(b.capstone) try: graph = self.plugin.cfg.functions[self.current_function].graph graph2 = networkx.relabel_nodes(graph, mapping) viewer = sark.ui.NXGraph(graph2, title="angr graph", padding=0) viewer.Show() except: print("ERROR: {}".format(sys.exc_info()))
Example #6
Source File: gui.py From DROP-IDA-plugin with GNU General Public License v3.0 | 5 votes |
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 #7
Source File: functions_plus.py From functions-plus with MIT License | 5 votes |
def main(): funp = FunctionsPlus() funp.Show()
Example #8
Source File: functions_plus.py From functions-plus with MIT License | 5 votes |
def Show(self): ''' Creates the form is not created or focuses it if it was. ''' return PluginForm.Show(self, 'Functions+')
Example #9
Source File: IDAFunctionTagger.py From IDA-Function-Tagger with GNU General Public License v2.0 | 5 votes |
def openTagViewer(): global TagViewer TagViewer.Show()
Example #10
Source File: IDAFunctionTagger.py From IDA-Function-Tagger with GNU General Public License v2.0 | 5 votes |
def Show(self): return PluginForm.Show(self, "Function Tags", options = PluginForm.FORM_TAB)
Example #11
Source File: FunctionViewEx.py From DIE with MIT License | 5 votes |
def createEditor(self, parent, option, index): parsed_val_list = index.data(role=DIE.UI.ParsedValuesRole) # Show combobox only if parsed_value as two or more items. if parsed_val_list is not None and len(parsed_val_list) > 1: lines = [] for parsed_val in parsed_val_list: line_txt = "%d, %s, %s" % (parsed_val.score, parsed_val.data, parsed_val.description) lines.append(line_txt) combo_box = QtWidgets.QComboBox(parent) combo_box.addItems(lines) return combo_box
Example #12
Source File: FunctionViewEx.py From DIE with MIT License | 5 votes |
def on_bpview_button(self): bp_view = DIE.UI.BPView.get_view() bp_view.Show() ############################################################################################### # View Delegates.
Example #13
Source File: FunctionViewEx.py From DIE with MIT License | 5 votes |
def on_pluginsview_button(self): plugins_view = DIE.UI.ParserView.get_view() plugins_view.Show()
Example #14
Source File: PluginViewer.py From VMAttack with MIT License | 5 votes |
def Show(self, **kwargs): return PluginForm.Show(self, self.title, options=PluginForm.FORM_PERSIST)
Example #15
Source File: FunctionViewEx.py From DIE with MIT License | 5 votes |
def Show(self): # Reset highlighted items self.highligthed_items = [] return PluginForm.Show(self, "Function View", options=PluginForm.FORM_PERSIST)
Example #16
Source File: ParserView.py From DIE with MIT License | 5 votes |
def Show(self): return PluginForm.Show(self, "Parser View", options=PluginForm.FORM_PERSIST)
Example #17
Source File: BPView.py From DIE with MIT License | 5 votes |
def Show(self): return PluginForm.Show(self, "Breakpoint View", options=PluginForm.FORM_PERSIST)
Example #18
Source File: main_gui.py From IDAngr with BSD 2-Clause "Simplified" License | 5 votes |
def idangr_panel_show(): global _idangr_panel _idangr_panel.Show()
Example #19
Source File: main_gui.py From IDAngr with BSD 2-Clause "Simplified" License | 5 votes |
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 #20
Source File: idasec.py From idasec with GNU Lesser General Public License v2.1 | 5 votes |
def main(): idaapi.msg("Loading IDASEC\n") global IDASEC try: IDASEC IDASEC.OnClose(IDASEC) idaapi.msg("reloading IDASec\n") IDASEC = IDASecForm() return except Exception: IDASEC = IDASecForm() IDASEC.Show("Idasec")
Example #21
Source File: idasec.py From idasec with GNU Lesser General Public License v2.1 | 5 votes |
def run(self, arg=0): print "Run IDASec" f = IDASecForm() f.Show() return