Skip to content
/ mdec-r2 Public
forked from mborgerson/mdec

Decompilation as a Service. Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.

License

Notifications You must be signed in to change notification settings

n01e0/mdec-r2

 
 

Repository files navigation

mdec

Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.

Supported Decompilers

Note: For Hex-Rays and Binary Ninja, you must provide license and binaries; other decompilers will be downloaded automatically.

Components

  • Each decompiler is a service that runs in its own container
  • A frontend web service proxies requests to backend service

Install

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 (e.g. frontend, angr, etc.)

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 'file=@test.o' http://127.0.0.1/hexrays/decompile

About

Decompilation as a Service. Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.6%
  • HTML 22.7%
  • Dockerfile 15.9%
  • C 0.8%