diff options
| author | marilafo <mar.lafon.ml@gmail.com> | 2018-11-16 11:16:42 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2018-11-16 11:16:42 +0100 |
| commit | ac4fe4b4d2f3c30a43a640614c4bf8494878d608 (patch) | |
| tree | 99d71e6f27f4968a29e8cd8aa69575da29f8bfb1 /example/ida/menu.py | |
| parent | b0a36203404b5486ca5225cc8233a9f31e8fbad7 (diff) | |
| download | miasm-ac4fe4b4d2f3c30a43a640614c4bf8494878d608.tar.gz miasm-ac4fe4b4d2f3c30a43a640614c4bf8494878d608.zip | |
add ssa graph to ida (#886)
Example: Add ssa graph to ida
Diffstat (limited to 'example/ida/menu.py')
| -rw-r--r-- | example/ida/menu.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/example/ida/menu.py b/example/ida/menu.py index b88cc59f..a0eecf67 100644 --- a/example/ida/menu.py +++ b/example/ida/menu.py @@ -66,6 +66,16 @@ handler_graph_simp = Handler(lambda: build_graph(simplify=True)) handler_graph_simp.register("miasm:graphirsimp", "Graph IR (simplified)", shortcut="F8", icon=191) handler_graph_simp.attach_to_menu("Miasm/Graph IR (simplified)") +handler_graph_simp = Handler(lambda: build_graph(simplify=True, ssa=True)) +handler_graph_simp.register("miasm:graphirssa", + "Graph IR (SSA)", shortcut="F8", icon=191) +handler_graph_simp.attach_to_menu("Miasm/Graph IR (SSA)") + +handler_graph_simp = Handler(lambda: build_graph(simplify=True, ssa_simplify=True)) +handler_graph_simp.register("miasm:graphirssasimple", + "Graph IR (SSA Simplified)", shortcut="F8", icon=191) +handler_graph_simp.attach_to_menu("Miasm/Graph IR (SSA Simplified)") + if serve_threaded is not None: handler_rpyc = Handler(serve_threaded) handler_rpyc.register("miasm:rpyc", "RPYC server", shortcut="F10", icon=182) |