From 1edede413369205dd86a3be0b19ad4863b4e1ffd Mon Sep 17 00:00:00 2001 From: Ajax Date: Thu, 19 Mar 2015 10:37:56 +0100 Subject: Disasm/Full: args.address can be empty, otherwise `default_addr` code is never reached --- example/disasm/full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/disasm/full.py') 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, -- cgit 1.4.1