question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Long execution time

See original GitHub issue

Description

I’m running Mythril on Ubuntu 18.04, and although it executes in a few seconds on sample contracts, when I run it on my own contract, it’s been running for over 2 hours now without any signs of life. It doesn’t appear to be hung, although I’m doubting that it should be taking this long.

Given that the contract being analyzed is 234 lines of code which creates a relatively straightforward token, I’m wondering if there’s an issue or if maybe I’m must not being patient enough?

I don’t see any reference in the documentation to what kind of timeline to expect, and I’m not seeing any live videos of anyone else using this, so I don’t really have a frame of reference. So any helpful input in this regard would be appreciated.

How to Reproduce

myth -x AyaCoin.sol Contract code: https://github.com/AyaCoin/AyaCoin-smart-contract/blob/master/AyaCoin.sol

Environment

Ubuntu: 18.04 Python: 3.6.5 Mythril: 0.18.11 Solc: 0.4.24+commit.e67f0147.Linux.g++

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
norhhcommented, Sep 9, 2018

hey @AyaCoin , it’s not just 234 lines , it also adds all the libraries and analyses them through that too, so. I encountered a similar problem sometimes but in my case my pc got hung, can you mention the RAM of the PC you are using? Also you can try reducing the max-depth for getting faster results, but somethings might be missed. like myth -x AyaCoin.sol --max-depth 22 , 22 maxdepth is default, you can try reducing it to 15-16 and it might run.

1reaction
AyaCoincommented, Sep 10, 2018

P.S. Thank you for developing such a helpful tool. I may have had difficulties installing it, but it’s hugely beneficial, and I very much appreciate the value it adds to the crypto community.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is considered a long execution time? - Stack Overflow
An average page loading time is around 3 seconds. (which is too much) Good quality websites should take about 1 second to be...
Read more >
Analyze Long Execution Time - AIMMS How-To
Analyze Long Execution Time . You can find the origin of large execution times with The AIMMS profiler. To decrease the execution...
Read more >
Time on Death Row | Death Penalty Information Center
Death-sentenced prisoners in the U.S. typically spend more than a decade on death row prior to exoneration or execution. Some prisoners have been...
Read more >
longer execution time | English examples in context - Ludwig
Longer execution time rises the possibility of deadline violation of real-time applications, which may cause serious consequences in hard real-time systems. 3.
Read more >
U.S. inmates condemned to die are spending more time ... - NPR
Research shows the average time between sentencing and execution has increased by two-thirds in the past 20 years.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found