Comments (7)
EVMJIT="-help" ./testeth -- --vm jit
And use EVMJIT="-dump"
to dump generated LLVM IR.
from evmjit.
Hi, sorry to bother.
I'm wonder is this the right way to use this tool?~/evmjit/build/cpp-ethereum/build/test$ EVMJIT="-help" ./testeth --jit
I got some unexpected feedback
Running tests using path: "/home/user0/tests" An unrecognized parameter in the argument jit Usage: testeth [Boost.Test argument]... -- [custom test module argument]... For detailed help on Boost.Test parameters use: testeth --help or testeth --help=<parameter name>
The Readme file is a little difficult for me to understand. I'll be really appreciated if anyone can help.
Hi~May i ask you how did you build this project? on x86 or x64? use visual studio 2015 or 2017? how about your building system(Linux or Win)?
Sorry for so many questions, i have some problem when i build and i want to check my environment : ).
from evmjit.
Hi~May i ask you how did you build this project? on x86 or x64? use visual studio 2015 or 2017? how about your building system(Linux or Win)?
Sorry for so many questions, i have some problem when i build and i want to check my environment : ).
in linux.
EVMJIT is a submodule of testeth. You can build testeth with EVMJIT option on(open it in ../testeth/cmake/EthOptions.cmake)
Testeth build guide: https://github.com/ethereum/testeth
After build it successfully testeth is in the path: ../testeth/build/test
from evmjit.
Hi~May i ask you how did you build this project? on x86 or x64? use visual studio 2015 or 2017? how about your building system(Linux or Win)?
Sorry for so many questions, i have some problem when i build and i want to check my environment : ).in linux.
EVMJIT is a submodule of testeth. You can build testeth with EVMJIT option on(open it in ../testeth/cmake/EthOptions.cmake)
Testeth build guide: https://github.com/ethereum/testethAfter build it successfully testeth is in the path: ../testeth/build/test
Thx , it helped a lot. I have built the whole testeth, and it works when i type
EVMJIT="-help" ./testeth -- --vm jit
But actually i want to compile my own solidity bytecode into LLVM bitcode. I have searched testeth docs but it is difficult for me. Is there any way can set the compile path to my code?
from evmjit.
I'm not sure what you want to do with that, but some important information.
- EVMJIT is not maintained any more, so you cannot build the latest Aleth with it.
- You could select evmjit in aleth-vm to execute any EVM bytecode:
aleth-vm --vm jit
. - Combined with
-dump
flag you could print the LLVM IR code:EVMJIT=-dump aleth-vm --vm jit
. - You will not get 1 to 1 mapping of Solidity code. In the LLVM IR there is a lot of runtime helper functions and probably solidity also generates some additional EVM code even for empty contract.
from evmjit.
You can also ask questions in https://gitter.im/ethereum/evmjit.
from evmjit.
Hello, I wanted to convert my own etherum bytecode to llvm ir. Can you guide me about how to use this tool and the other tool - aleth mentioned in the above chat.
from evmjit.
Related Issues (20)
- EVM-C: EVM_REJECTED HOT 2
- EVM-C: add status code for "invalid in static mode"
- EVM-C: rename msg.address to msg.destination
- EVM-C: clarify data and size for empty input in evm_message
- Delete the master branch HOT 5
- EVM-C: Add dynamic loading option to apiexample and test for it in CI HOT 1
- EVM-C: UNDEFINED and INVALID instructions HOT 1
- EVM-C: naming HOT 26
- Why do I failed building the tests/test-evmjit-standalone.c? HOT 2
- how to execute opcodes of solidity in wcmjit?
- Nested contract creation calls give segmentation fault. HOT 1
- Update to EVMC ABIv6
- Use evmc-vmtester (from evmc) and evm-test (from evmone)
- Update to LLVM 6 (or 7 or 8)
- Support Constantinople properly
- Project maintainer wanted HOT 3
- how we can do when compile meet Unknown Opcode? HOT 1
- Support Petersburg
- Bug in compilation at the step `cmake --build . --config RelWithDebInfo` HOT 1
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 evmjit.