Parsing LBVM-bit code with Java

Is there a way to parse LLVM bits in my Java application? In other words, is there any library with a Java binding and can parse LLVM-bit code that I could get using some DOM or any other way?

Note that I am not trying to convert LLVM bitcode to Java bytecode, just trying to parse LLVM bitcode into some workable representation for Java.

+5
source share
2 answers

Using LLVM C bindings through something like JNI is probably the easiest approach. However, since this question was asked, I managed to find several projects that could help, as well as create one of my own:

+2

JNI llvm C.

0

All Articles