- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://tcloud.sjtu.edu.cn/wiki/index.php/User:Liuhaots:JLLVM
软件介绍
JLLVM 是 Java 版的 LLVM 核心,它是轻量级以及平台无关的,JLLVM 用于识别 LLVM IR 和在 Java 类中存储 IR 元素。
示例代码:
LLVMLexer l = new LLVMLexer(new ANTLRStringStream(new String(buffer)));
//buffer is a byte[] which stores the source LLVM IR file. CommonTokenStream ct = new CommonTokenStream(l); LLVMParser p = new LLVMParser(ct); Module cfg = p.program();
