Comments (7)
sorry, the output file is form /examples/advertisement.sol in you project. And EtherDelta can not run this program.
from ethir.
also the example in /examples/sums.sol did not work in your project
from ethir.
Hi,
what dou you mean with "did not work in your project"? Did you get an exception message?
Which command did you execute? I have run the three solidity examples that you mention and the execution finishes without error.
from ethir.
there is no exception msg show for me. I use 'python2 oyente-ethir.py -s xxx.sol' or 'python2 oyente-ethir.py -s xxx.evm -b' to build cfg. Aslo, I try to use python3, but show syntax error.
And I have installed solc, evm, z3 in the way showed in readme.
I did not know what error occurred, so I try to connect you. thinks for your reply.
p.s. I run it in Mac, not Ubuntu :)
from ethir.
If you don't get an exception message it executes correctly. I run it with python 2.7 using the follwoing command:
./oyente-ethir.py -s xxx.sol -cfg
It will generate a .cfg file and a .dot file for each contract that appears in the solidity file. These cfg files contain the cfg of each contract in text mode and as a dot image respectively. Note that each contract of the solidity file is executed independently so EthIR generates one file for each contract. For example, if you run EthIR with the contract that you mention in the first post, it will generate 7 cfg files, 7 dot files, 7 rbr files...one for each contract.
Which versions of solc and evm are you using? They should be solc v0.4.25 and evm v1.8.18
from ethir.
Thanks. I have try it in Ubuntu and it run correctly but not in osX. It show Exception: 1 when i use command:
python2 ./oyente-ethir.py -s xxx.sol -cfg
When I use Pycharm to debug the detail of this exception, the detail of exception is:
'NoneType' object has no attribute 'get_start_address'
In ubuntu, solc: 0.4.25, evm: 1.8.18. In osX, solc: 0.4.25, evm: 1.8.14-stable
from ethir.
We haven't tested it for osX yet. Can you send me a link to the sol file that you are using to check it?
from ethir.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethir.