BinSync is a decompiler collaboration tool built on the Git versioning system to enable fined-grained reverse engineering collaboration regardless of decompiler. BinSync is built by mahaloz, the angr team, and the SEFCOM research lab. It's also due in large part to its use by the Shellphish hacking team.
All good decompilers share common objects called Reverse Engineering Artifacts (REAs). These REAs are the center of BinSync's syncing ability. Here are the supported REAs:
- Function headers (symbol, args, type)
- Stack Variables (symbol, type)
- Structs
- Enums
- Comments
Note: all types support user-created types like structs.
Join our discord below for more online help:
For all installs, it's best to use our two-part installer with Python:
pip3 install binsync && binsync --install
BinSync is also available in the Binary Ninja plugin manager.
If you plan on using BS with Ghidra, you need to also do pip3 install binsync[ghidra]
.
If you plan on using extra BS features, like the ChatGPT User, install the package like this: pip3 install binsync[extras]
, which will install extra packages for support.
For full install information, please read our quickstart docs.
If you are planning on installing the package to be editable (-e
), like in a developer install, make sure pip>=23.0.0
.
- IDA Pro: >= 8.4 (if you have an older version, use
v4.10.1
) - Binary Ninja: >= 2.4
- angr-management: >= 9.0
- Ghidra: >= 10.1
All versions require Python >= 3.10 and Git installed on your system. Ghidra support is still very much in early stage, so only expect the minimal features like artifact name syncing and comments.
Although we support the decompilers in the earlier section, not every decompiler is supported at the same level of syncing. To understand the difference between artifact support, pull, push, and auto push, read our decompiler use introduction.
Operations | Function Headers | Stack Vars | Global Vars | Structs | Enums | Comments |
---|---|---|---|---|---|---|
Symbols | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Types | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Pull | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Push | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Auto Push | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Operations | Function Headers | Stack Vars | Global Vars | Structs | Enums | Comments |
---|---|---|---|---|---|---|
Symbols | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Types | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Pull | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Push | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Auto Push | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Operations | Function Headers | Stack Vars | Global Vars | Structs | Enums | Comments |
---|---|---|---|---|---|---|
Symbols | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Types | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Pull | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Push | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
Auto Push | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
Operations | Function Headers | Stack Vars | Global Vars | Structs | Enums | Comments |
---|---|---|---|---|---|---|
Symbols | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Types | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Pull | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Push | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Auto Push | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
For scripting please see Lib BinSync, which allows you to do all lifting and data manipulation in Python.