superblaubeere27 / masxinlingvonta Goto Github PK
View Code? Open in Web Editor NEWCompiles Java ByteCode to LLVM IR (for obfuscation purposes)
License: GNU General Public License v3.0
Compiles Java ByteCode to LLVM IR (for obfuscation purposes)
License: GNU General Public License v3.0
uwu
In LoaderAdderPostprocessor.java, I found a method to get the mainMethod and then add loadNatives This method does not work and does not report any error, I can't find this method in the obfuscated file.
I'm on Windows 10 64-bit and when I try to build this project, I get the following error:
[ERROR] Unknown lifecycle phase ".platform=windows-x86_64". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<
plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test
-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, pos
t-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
The command I used was mvn -Djavacpp.platform=windows-x86_64 clean package
according to the README. My JAVA_HOME
points to Java 11. I have LLVM and the Windows C++ support installed.
Anything I did wrong or are the README build instructions incorrect? You're not providing a pre-built annoations JAR as it seems, otherwise I could use that and skip building this project.
I'm getting the java.lang.UnsatisfiedLinkError: no jniLLVM in java.library.path
issue while trying to run masxinlingvonta.
I built masxinlingvonta by myself.
Tried on LLVM versions: clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04
and clang+llvm-13.0.0-aarch64-linux-gnu
java -jar masxinlingvonta-cli-0.1.0-SNAPSHOT.jar -i input.jar -o obfuscated.jar -compileFor linux -llvmDir "/home/winston/LLVM/bin" Loading input... Compiling... Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniLLVM in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830) at java.base/java.lang.System.loadLibrary(System.java:1873) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1718) at org.bytedeco.javacpp.Loader.load(Loader.java:1328) at org.bytedeco.javacpp.Loader.load(Loader.java:1132) at org.bytedeco.llvm.global.LLVM.<clinit>(LLVM.java:14) at net.superblaubeere27.masxinlingvaj.compiler.MLVCompiler.createModule(MLVCompiler.java:29) at net.superblaubeere27.masxinlingvaj.compiler.MLVCompiler.<init>(MLVCompiler.java:25) at net.superblaubeere27.masxinlingvaj.MLV.preprocessAndCompile(MLV.java:40) at net.superblaubeere27.masxinlingvonta.CLIMain.main(CLIMain.java:100) Caused by: java.lang.UnsatisfiedLinkError: no Remarks in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830) at java.base/java.lang.System.loadLibrary(System.java:1873) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1718) at org.bytedeco.javacpp.Loader.load(Loader.java:1239) ... 6 more
Any solutions? Thanks.
Example:
@Оutsource // used russian O letter to prevent github mentioning random user.
public static void main(String[] args) {
System.out.println(3.1f + 3.9f);
}
// error on compiling .dll: lld-link: undefined symbol: _fltused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.