about summary refs log tree commit diff stats
path: root/example/disasm/full.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-03-19 10:37:56 +0100
committerAjax <commial@gmail.com>2015-03-19 10:37:56 +0100
commit1edede413369205dd86a3be0b19ad4863b4e1ffd (patch)
tree62d01b8d37cd068ffe77163ffb924ad862fbd076 /example/disasm/full.py
parent621bd32bfc95cb34ee6b7dee6e64b9f23b480c22 (diff)
downloadfocaccia-miasm-1edede413369205dd86a3be0b19ad4863b4e1ffd.tar.gz
focaccia-miasm-1edede413369205dd86a3be0b19ad4863b4e1ffd.zip
Disasm/Full: args.address can be empty, otherwise `default_addr` code is never reached
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 14829755..f15efe6e 100644
--- a/example/disasm/full.py
+++ b/example/disasm/full.py
@@ -25,7 +25,7 @@ parser.add_argument('architecture', help="architecture: " + \
                         ",".join(Machine.available_machine()))
 parser.add_argument('filename', help="File to disassemble")
 parser.add_argument('address', help="Starting address for disassembly engine",
-                    nargs="+")
+                    nargs="*")
 parser.add_argument('-f', "--followcall", action="store_true",
                     help="Follow call instructions")
 parser.add_argument('-b', "--blockwatchdog", default=None, type=int,