Skip to content
r.

ghidriff

clearbluejar/ghidriff · Public GitHub repository

Python Command-Line Ghidra Binary Diffing Engine

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

ghidriff live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

ghidriff provides a command-line binary diffing capability with a fresh take on diffing workflow and results.

It leverages the power of Ghidra's ProgramAPI and FlatProgramAPI to find the added, deleted, and modified functions of two arbitrary binaries. It is written in Python3 using pyghidra to orchestrate Ghidra and jpype as the Python to Java interface to Ghidra.

Its primary use case is patch diffing. Its ability to perform a patch diff with a single command makes it ideal for automated analysis. The diffing results are stored in JSON and rendered in markdown (optionally side-by-side HTML). The markdown output promotes "social" diffing, as results are easy to publish in a gist or include in your next writeup or blog post.

Requirements and intended audience

ghidriff provides a command-line binary diffing capability with a fresh take on diffing workflow and results.

Its primary use case is patch diffing. Its ability to perform a patch diff with a single command makes it ideal for automated analysis. The diffing results are stored in JSON and rendered in markdown (optionally side-by-side HTML). The markdown output promotes "social" diffing, as results are easy to publish in a gist or include in your next writeup or blog post.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-12. Source: https://github.com/clearbluejar/ghidriff/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-15. Saved release: v1.0.0 · 2025-07-04. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
GPL-3.0. Distributing the software or derivatives can require sharing source under the same licence.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories