about summary refs log tree commit diff stats
path: root/example/asm/shellcode.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/asm/shellcode.py
parent7681a432c7c98df9d075701a172df0d5f311f753 (diff)
downloadmiasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.tar.gz
miasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.zip
Example: move output .txt to .dot
Diffstat (limited to 'example/asm/shellcode.py')
-rw-r--r--example/asm/shellcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py
index 52630e4d..253386b5 100644
--- a/example/asm/shellcode.py
+++ b/example/asm/shellcode.py
@@ -77,7 +77,7 @@ if args.PE:
 for bloc in blocs:
     print bloc
 graph = asmbloc.bloc2graph(blocs)
-open("graph.txt", "w").write(graph)
+open("graph.dot", "w").write(graph)
 
 # Apply patches
 patches = asmbloc.asm_resolve_final(machine.mn,