New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to run mythril in a python script #1429
Comments
You should also initialise execution timeout in MythrilAnalyzer() |
Ahh. I see. So, the default for the execution timeout in |
So, I tried adding the |
@Mikerah Yes, I think you should also add the solver timeout. |
But |
@Mikerah It gets reset by MythrilAnalyzer which might set it to None when nothing is mentioned. |
Thank you very much. The code snippet is working. |
Description
When attempting to get a list of all the detection modules in a python script, I get
due to the fact that
support/model.py
at line 28,timeout
is of type None in my code.How to Reproduce
Input:
Output:
Expected behavior
I expect to see a string version of a report for the given smart contract located at the address
some_contract_addr
in which all the detection modules were run on that smart contract.Environment
Mythril version: 0.22.9
Solidity compiler and version: solc version 0.6.7+commit.b8d736ae.Linux.g++
Python version: 3.8.5
OS and Version: Fedora 32
The text was updated successfully, but these errors were encountered: