Jimple2cpg
Code Property Graph (CPG) frontend for Soot's Jimple IR. Formerly known as Plume.
Install / Use
/learn @joernio/Jimple2cpgREADME
jimple2cpg
This is a CPG frontend for Soot's Jimple IR. This language frontend is formerly known as Plume.
Setup
Requirements:
- >= JDK 11. We recommend OpenJDK 11.
- sbt (https://www.scala-sbt.org/)
Quickstart
- Clone the project
- Build the project
sbt stage - Create a CPG
./jimple2cpg.sh /path/to/your/code -o /path/to/cpg.bin - Download Joern with
wget https://github.com/joernio/joern/releases/latest/download/joern-cli.zip unzip joern-cli.zip cd joern-cli - Copy
cpg.bininto the Joern directory - Start Joern with
./joern.sh - Import the cpg with
importCpg("cpg.bin") - Now you can query the CPG
Development
Some general development habits for the project:
- When making a branch, use the following template
<short-name>/<feature-or-bug-name>e.g.fabs/control-structure-nodes. - We currently focus around test driven development. Pay attention to the code coverage when creating new tests and
features. The code coverage report can be found under
./target/scala-2.13/scoverage-report.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
