|
|
@ -66,6 +66,9 @@ def main(): |
|
|
|
options.add_argument('--max-depth', type=int, default=22, help='Maximum recursion depth for symbolic execution') |
|
|
|
options.add_argument('--max-depth', type=int, default=22, help='Maximum recursion depth for symbolic execution') |
|
|
|
options.add_argument('--execution-timeout', type=int, default=60, help="The amount of seconds to spend on " |
|
|
|
options.add_argument('--execution-timeout', type=int, default=60, help="The amount of seconds to spend on " |
|
|
|
"symbolic execution") |
|
|
|
"symbolic execution") |
|
|
|
|
|
|
|
outputs.add_argument('--strategy', choices=['dfs', 'bfs'], default='dfs', |
|
|
|
|
|
|
|
help='Symbolic execution strategy') |
|
|
|
|
|
|
|
|
|
|
|
options.add_argument('--solc-args', help='Extra arguments for solc') |
|
|
|
options.add_argument('--solc-args', help='Extra arguments for solc') |
|
|
|
options.add_argument('--phrack', action='store_true', help='Phrack-style call graph') |
|
|
|
options.add_argument('--phrack', action='store_true', help='Phrack-style call graph') |
|
|
|
options.add_argument('--enable-physics', action='store_true', help='enable graph physics simulation') |
|
|
|
options.add_argument('--enable-physics', action='store_true', help='enable graph physics simulation') |
|
|
@ -194,7 +197,7 @@ def main(): |
|
|
|
exit_with_error(args.outform, "Error saving graph: " + str(e)) |
|
|
|
exit_with_error(args.outform, "Error saving graph: " + str(e)) |
|
|
|
|
|
|
|
|
|
|
|
else: |
|
|
|
else: |
|
|
|
report = mythril.fire_lasers(address=address, |
|
|
|
report = mythril.fire_lasers(strategy=args.strategy, address=address, |
|
|
|
modules=[m.strip() for m in args.modules.strip().split(",")] if args.modules else [], |
|
|
|
modules=[m.strip() for m in args.modules.strip().split(",")] if args.modules else [], |
|
|
|
verbose_report=args.verbose_report, |
|
|
|
verbose_report=args.verbose_report, |
|
|
|
max_depth=args.max_depth, execution_timeout=args.execution_timeout) |
|
|
|
max_depth=args.max_depth, execution_timeout=args.execution_timeout) |
|
|
|