diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-09 14:27:16 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-09 14:27:16 +0100 |
| commit | 29a00f31d46e49333df450b85580af152aae2668 (patch) | |
| tree | 5179bbaae19f3d8fe6a2398ca6d0e09b5d923c19 /example/jitter/unpack_upx.py | |
| parent | 7681a432c7c98df9d075701a172df0d5f311f753 (diff) | |
| parent | 4140fa4725a31d7b1f8856c2da30a87a17c80c67 (diff) | |
| download | miasm-29a00f31d46e49333df450b85580af152aae2668.tar.gz miasm-29a00f31d46e49333df450b85580af152aae2668.zip | |
Merge pull request #258 from commial/extension-dot
Extension dot
Diffstat (limited to 'example/jitter/unpack_upx.py')
| -rw-r--r-- | example/jitter/unpack_upx.py | 4 |
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: |