about summary refs log tree commit diff stats
path: root/example/disasm/full.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-05-07 16:57:57 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-05-07 16:57:57 +0200
commite5e1305c0c940275e1f1236ca4ff2ed5b2ba3ed2 (patch)
tree0ce257d8cfdd1e26acd4aea6a621acbb7e84b028 /example/disasm/full.py
parent1548b4f389151fec11e6908b6186b5fa55866e08 (diff)
downloadmiasm-e5e1305c0c940275e1f1236ca4ff2ed5b2ba3ed2.tar.gz
miasm-e5e1305c0c940275e1f1236ca4ff2ed5b2ba3ed2.zip
Example: fix simplify argument
Diffstat (limited to 'example/disasm/full.py')
-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),