about summary refs log tree commit diff stats
path: root/example/jitter/unpack_upx.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-09 14:49:51 +0100
committerAjax <commial@gmail.com>2015-11-09 15:01:12 +0100
commitb4114c3e786cf9c90b9c81cb4594d7775a266f5d (patch)
tree55e86387c9e1ee9b2b0c7fed92d8cf6cffde9160 /example/jitter/unpack_upx.py
parent7681a432c7c98df9d075701a172df0d5f311f753 (diff)
downloadmiasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.tar.gz
miasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.zip
Example: move output .txt to .dot
Diffstat (limited to 'example/jitter/unpack_upx.py')
-rw-r--r--example/jitter/unpack_upx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index eb03209b..f1f179b8 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -40,7 +40,7 @@ parser.add_argument("filename", help="PE Filename")
 parser.add_argument('-v', "--verbose",
                     help="verbose mode", action="store_true")
 parser.add_argument("--graph",
-                    help="Export the CFG graph in graph.txt",
+                    help="Export the CFG graph in graph.dot",
                     action="store_true")
 options = parser.parse_args()
 sb = Sandbox_Win_x86_32(options.filename, options, globals())
@@ -72,7 +72,7 @@ logging.info(end_label)
 # Export CFG graph (dot format)
 if options.graph is True:
     g = asmbloc.bloc2graph(ab)
-    open("graph.txt", "w").write(g)
+    open("graph.dot", "w").write(g)
 
 
 if options.verbose is True: