about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPierre Lalet <pierre@droids-corp.org>2017-05-08 19:44:58 +0200
committerGitHub <noreply@github.com>2017-05-08 19:44:58 +0200
commit03063d96a950101a9fdf5a4c42eec81450b5c4b7 (patch)
tree0ce257d8cfdd1e26acd4aea6a621acbb7e84b028
parent1548b4f389151fec11e6908b6186b5fa55866e08 (diff)
parente5e1305c0c940275e1f1236ca4ff2ed5b2ba3ed2 (diff)
downloadmiasm-03063d96a950101a9fdf5a4c42eec81450b5c4b7.tar.gz
miasm-03063d96a950101a9fdf5a4c42eec81450b5c4b7.zip
Merge pull request #549 from serpilliere/fix_dis_full
Example: fix simplify argument
Diffstat (limited to '')
-rw-r--r--example/disasm/full.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py
index 3bfb7658..dd0ac6cd 100644
--- a/example/disasm/full.py
+++ b/example/disasm/full.py
@@ -38,7 +38,7 @@ parser.add_argument('-z', "--dis-nulstart-block", action="store_true",
                     help="Do not disassemble NULL starting block")
 parser.add_argument('-l', "--dontdis-retcall", action="store_true",
                     help="If set, disassemble only call destinations")
-parser.add_argument('-s', "--simplify", action="store_true",
+parser.add_argument('-s', "--simplify", action="count",
                     help="Apply simplifications rules (liveness, graph simplification, ...)")
 parser.add_argument('-o', "--shiftoffset", default=None,
                     type=lambda x: int(x, 0),