forked from libfirm/bytecode2firm
Convert Java bytecode to firm IR
License
qznc/bytecode2firm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
bytecode2firm - a Java bytecode front end for libFirm. Setup ------ 1) Get, setup and build libFirm from https://github.com/MatzeB/libfirm_jambuild. 2) Get, setup and build liboo from https://github.com/MatzeB/liboo. 3) Copy config.mak.example to config.mak and edit the variables FIRM_HOME and LIBOO_HOME to point to the repositories you just cloned. 4) Install gcj. bytecode2firm needs libgcj.so, and the precompiled runtime classes from gcj's rt.jar. In Ubuntu, install "libgcj-10 gcj-4.4-jre-lib". (Hint: you might want to make sure that gcj is not your default Java VM afterwards. See "update-alternatives --config X", where X = {java, javac, javah, ...}) Locate the rt.jar and unzip it to an directory named "rt" in the source directory (or specify -bootclasspath when invoking bytecode2firm). Running -------- $ ./bytecode2firm -cp <class path> <Main class name> for example, $ ./bytecode2firm -cp $HOME/Src/bytecode2firm-testsuite InvokeX The resulting linked executable needs liboo_rt.so. It is compiled to look in the current directory.
About
Convert Java bytecode to firm IR
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 100.0%