Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mborgerson/mdec
Decompilation as a Service. Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.
https://github.com/mborgerson/mdec
angr binary-ninja decompilation decompiler ghidra ida jeb r2dec reko retdec snowman
Last synced: 2 months ago
JSON representation
Decompilation as a Service. Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.
- Host: GitHub
- URL: https://github.com/mborgerson/mdec
- Owner: mborgerson
- License: other
- Archived: true
- Created: 2022-03-11T05:14:24.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T20:20:19.000Z (over 2 years ago)
- Last Synced: 2024-08-01T19:58:01.852Z (6 months ago)
- Topics: angr, binary-ninja, decompilation, decompiler, ghidra, ida, jeb, r2dec, reko, retdec, snowman
- Language: Python
- Homepage: http://decompilerexplorer.org
- Size: 216 KB
- Stars: 454
- Watchers: 13
- Forks: 28
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-repositories - mborgerson / mdec
README
**Update:** mdec is now deprecated in favor of the community maintained [decompiler-explorer](https://github.com/decompiler-explorer/decompiler-explorer) project!
mdec
====Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.
![](screenshot.png)
Supported Decompilers
---------------------
* [angr](https://angr.io/)
* [Binary Ninja](https://binary.ninja/)[1]
* [Ghidra](https://ghidra-sre.org/)
* [Hex-Rays](https://hex-rays.com/decompiler/)[1]
* [JEB CE](https://www.pnfsoftware.com/jeb/community-edition)[2]
* [r2dec](https://github.com/wargio/r2dec-js)
* [Reko](https://github.com/uxmal/reko)
* [RetDec](https://github.com/avast/retdec)
* [Snowman](https://github.com/yegord/snowman)**Notes:**
1. Hex-Rays and Binary Ninja require license and binaries; other decompilers will be downloaded automatically.
2. JEB CE requires a license code. It's free. More info [here](backend/jeb/private/README.md).Components
----------
* Each decompiler is a service that runs in its own container
* A frontend web service proxies requests to backend serviceInstall
-------
You'll need to add your proprietary packages in `backend/*/private`. Then just:
```
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build
```**Tip:** If you want to build only a few services, append the service names to the above command. For example, to build only the free/open source decompilers you can specify:
```
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build \
frontend \
angr \
ghidra \
r2dec \
reko \
retdec \
snowman
```Run
---
```
docker compose up
```Point your browser at http://127.0.0.1.
**Tip:** If you want to start only a few services, append the service names to the above command (e.g. frontend, angr, etc.)
API
---
You can also request decomp like:
```
curl -F '[email protected]' http://127.0.0.1/hexrays/decompile
```