mythril icon indicating copy to clipboard operation
mythril copied to clipboard

Mythril is producing one liner success report without details.

Open lipibpp opened this issue 2 years ago • 1 comments

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.

lipibpp avatar Feb 20 '24 10:02 lipibpp

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>

norhh avatar Feb 20 '24 12:02 norhh