diff options
| author | Ajax <commial@gmail.com> | 2015-03-19 10:37:56 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-03-19 10:37:56 +0100 |
| commit | 1edede413369205dd86a3be0b19ad4863b4e1ffd (patch) | |
| tree | 62d01b8d37cd068ffe77163ffb924ad862fbd076 /example/disasm/full.py | |
| parent | 621bd32bfc95cb34ee6b7dee6e64b9f23b480c22 (diff) | |
| download | focaccia-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.py | 2 |
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, |