about summary refs log tree commit diff stats
path: root/example/disas_and_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/disas_and_graph.py')
-rwxr-xr-xexample/disas_and_graph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/disas_and_graph.py b/example/disas_and_graph.py
index 03519a70..71f943ec 100755
--- a/example/disas_and_graph.py
+++ b/example/disas_and_graph.py
@@ -9,6 +9,7 @@ from miasm.core import parse_asm
 from elfesteem import pe
 from miasm.arch import ia32_arch
 from miasm.arch import arm_arch
+from miasm.arch import ppc_arch
 from optparse import OptionParser
 
 try:
@@ -133,6 +134,7 @@ if options.machine:
     machine_dct = {"ia32":ia32_arch.x86_mn,
                    "arm":arm_arch.arm_mn,
                    "java":java_mn,
+                   "ppc":ppc_arch.ppc_mn,
                    }
     if not options.machine in machine_dct:
         raise ValueError('unknown machine', options.machine)