diff options
| author | Camille Mougey <commial@gmail.com> | 2018-01-10 19:01:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-10 19:01:24 +0100 |
| commit | 046109f04276755fea9470fe62c8eb37ee329f86 (patch) | |
| tree | 66b8c3a5079402bc305e126a1bde7edc4e628c7a /example/ida/graph_ir.py | |
| parent | 88f60dccc87b6d820831c2d55b4ef400ab0cfc5b (diff) | |
| parent | b90c1e27e04cac365f1c0167b07b2932bda0de3e (diff) | |
| download | miasm-046109f04276755fea9470fe62c8eb37ee329f86.tar.gz miasm-046109f04276755fea9470fe62c8eb37ee329f86.zip | |
Merge pull request #652 from serpilliere/fix_ida_symb_exec_plugin
Ida/Example: fix symbexec plugin
Diffstat (limited to 'example/ida/graph_ir.py')
| -rw-r--r-- | example/ida/graph_ir.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py index 9a65617b..8d9dea4f 100644 --- a/example/ida/graph_ir.py +++ b/example/ida/graph_ir.py @@ -95,18 +95,9 @@ class GraphMiasmIR(idaapi.GraphViewer): def OnClick(self, node_id): return True - def OnCommand(self, cmd_id): - if self.cmd_test == cmd_id: - print 'TEST!' - return - print "command:", cmd_id - def Show(self): if not idaapi.GraphViewer.Show(self): return False - self.cmd_test = self.AddCommand("Test", "F2") - if self.cmd_test == 0: - print "Failed to add popup menu item!" return True @@ -185,9 +176,6 @@ def build_graph(verbose=False, simplify=False): g = GraphMiasmIR(ir_arch, title, None) - g.cmd_a = g.AddCommand("cmd a", "x") - g.cmd_b = g.AddCommand("cmd b", "y") - g.Show() if __name__ == "__main__": |