|
|
|
@ -356,7 +356,7 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser): |
|
|
|
|
"--create-timeout", |
|
|
|
|
type=int, |
|
|
|
|
default=10, |
|
|
|
|
help="The amount of seconds to spend on " "the initial contract creation", |
|
|
|
|
help="The amount of seconds to spend on the initial contract creation", |
|
|
|
|
) |
|
|
|
|
options.add_argument( |
|
|
|
|
"-l", |
|
|
|
@ -366,8 +366,9 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser): |
|
|
|
|
) |
|
|
|
|
options.add_argument( |
|
|
|
|
"--no-onchain-storage-access", |
|
|
|
|
"--no-onchain-access", |
|
|
|
|
action="store_true", |
|
|
|
|
help="turns off getting the data from onchain contracts", |
|
|
|
|
help="turns off getting the data from onchain contracts (both loading storage and contract code)", |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
options.add_argument( |
|
|
|
@ -559,6 +560,7 @@ def execute_command( |
|
|
|
|
disable_dependency_pruning=args.disable_dependency_pruning, |
|
|
|
|
onchain_storage_access=not args.no_onchain_storage_access, |
|
|
|
|
solver_timeout=args.solver_timeout, |
|
|
|
|
requires_dynld=not args.no_onchain_storage_access, |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if not disassembler.contracts: |
|
|
|
|