Merge pull request #933 from ConsenSys/bugfix/931

increase max depth to 50 and move to bfs
pull/945/head
JoranHonig 6 years ago committed by GitHub
commit 9072be4ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      mythril/interfaces/cli.py

@ -165,14 +165,14 @@ def main():
options.add_argument( options.add_argument(
"--max-depth", "--max-depth",
type=int, type=int,
default=22, default=50,
help="Maximum recursion depth for symbolic execution", help="Maximum recursion depth for symbolic execution",
) )
options.add_argument( options.add_argument(
"--strategy", "--strategy",
choices=["dfs", "bfs", "naive-random", "weighted-random"], choices=["dfs", "bfs", "naive-random", "weighted-random"],
default="dfs", default="bfs",
help="Symbolic execution strategy", help="Symbolic execution strategy",
) )
options.add_argument( options.add_argument(
@ -280,7 +280,7 @@ def main():
) )
if args.query_signature: if args.query_signature:
if sigs.ethereum_input_decoder == None: if sigs.ethereum_input_decoder is None:
exit_with_error( exit_with_error(
args.outform, args.outform,
"The --query-signature function requires the python package ethereum-input-decoder", "The --query-signature function requires the python package ethereum-input-decoder",

Loading…
Cancel
Save