This repository was archived by the owner on Oct 29, 2021. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork9
Code Property Graph (CPG) frontend for binary applications and libraries.
License
NotificationsYou must be signed in to change notification settings
joernio/ghidra2cpg
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is aCPG frontend based onGhidra.
Requirements:
- We recommend openjdk 11 (at least). It does not work with adoptopenjdk 16.
- sbt (https://www.scala-sbt.org/)
- Clone the project
- Build the project
sbt stage
- Create a CPG
./ghidra2cpg.sh /path/to/your/binary -o /path/to/cpg.bin
- Download joern with
wget https://github.com/joernio/joern/releases/download/v1.1.164/joern-cli.zipunzip joern-cli.zipcd joern-cli
- Copy
cpg.bin
into the joern directory - Start joern with
./joern.sh
- Import the cpg with
importCpg("cpg.bin")
- Now you can query the CPG
varags
are not handled properly:NationalSecurityAgency/ghidra#234
About
Code Property Graph (CPG) frontend for binary applications and libraries.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published