Skip to content
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

Mythril is producing one liner success report without details. #1837

Open
lipibpp opened this issue Feb 20, 2024 · 1 comment
Open

Mythril is producing one liner success report without details. #1837

lipibpp opened this issue Feb 20, 2024 · 1 comment

Comments

@lipibpp
Copy link

lipibpp commented Feb 20, 2024

Have installed Mythril in Docker. Have run on the 7 contracts in a multi-contract supply chain. The Supply chain has been tested in Remix on a limited data set. The typical command used: "sudo docker run -v $(pwd)/tmp:/tmp mythril/myth analyze /tmp/orderDeliveryManager21Dec.sol"; For 6 of them, the output from mythril has always been "The analysis was completed successfully. No issues were detected." No further details have been produced. For the 7th one, it kept on running for as long as 1 hour, without yielding any output.

@norhh
Copy link
Collaborator

norhh commented Feb 20, 2024

Hi, if it was quick, that means it's likely an interface/abstract contract. Run it on contracts that can be instantiated.
Mythril's has a large default timeout, so it takes quite some time, you can additionally adjust execution timeout using --execution-timeout <seconds>, furthuremore, you can view the analysis logs while it runs using sudo docker run -v $(pwd)/tmp:/tmp mythril/myth -v4 analyze <contract_path>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants