The Wayback Machine - https://web.archive.org/web/20200601170428/https://github.com/uxmal/reko
Skip to content
Reko is a binary decompiler.
C# Pascal C++ C Assembly HTML Other
Branch: master
Clone or download

Latest commit

uxmal Merge pull request #871 from ptomin/use-ceb-to-rewrite-global-variables
Use ComplexExpresionBuilder to rewrite global variable
Latest commit 8b289b4 May 30, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Maintenance: move dev notes into doc directory. Apr 16, 2020
external Final Rhino.Mocks removed. Feb 1, 2019
src Use ComplexExpresionBuilder to rewrite dereferenced global variable May 30, 2020
subjects Use ComplexExpresionBuilder to rewrite dereferenced global variable May 30, 2020
web SSA2 support for sequence commenced. Jan 22, 2016
.gitattributes Use github/linguist to ignore the subjects subdirectory in Github lan… Oct 11, 2017
.gitignore Maintenance: upgrade more .csproj files to new Sdk format (#748) Mar 23, 2020
.travis.yml Troubleshooting: clean up troubleshooting code Aug 23, 2019
.travis_env Travis CI: Enable tracing only while inside before_install Mar 9, 2018
AUTHORS Added name to AUTHORS May 12, 2020
CONTRIBUTING.md Linted the remaining files. Dec 19, 2016
COPYING Update GPLv2 text copy to the latest version Sep 17, 2017
COPYING.rtf Correct license text in MSI installer (fixes #464) Aug 8, 2017
INSTALL INSTALL points to doc/build.md Jul 13, 2018
NEWS.md Preparing for version-0.6.2.0 release Jan 12, 2017
README.md Grammar, y u so hard?? May 27, 2020
TODO.md Linted the remaining files. Dec 19, 2016
appveyor.yml Maintenance: bump to version 0.9.1.0 in preparation for release. Apr 16, 2020

README.md

reko - a general purpose decompiler.

Build Status Join the chat at https://gitter.im/uxmal/reko AppVeyor Build Status

Reko (Swedish: "decent, obliging") is a C# project containing a decompiler for machine code binaries. This project is freely available under the GNU General Public License.

The project consists of front ends, core decompiler engine, and back ends to help it achieve its goals. A command-line, a Windows GUI, and a ASP.NET front end exist at the time of writing. The decompiler engine receives inputs from the front ends in the form of either individual executable files or decompiler project files. Reko project files contain additional information about a binary file, helpful to the decompilation process or for formatting the output. The decompiler engine then proceeds to analyze the input binary.


Byte map view of a loaded ARM binary executable

Decompiled view of a loaded ARM binary executable

Reko has the ambition of supporting decompilation of various processor architectures and executable file formats with minimal user intervention. For a complete list, see the supported binaries page.

Please note that many software licenses prohibit decompilation or other reverse engineering of their machine code binaries. Use this decompiler only if you have legal rights to decompile the binary (for instance if the binary is your own.)

Downloading Reko

Official releases are published every few months on Github and SourceForge. Users who can't or won't build Reko themselves can download the output of the AppVeyor integration builder. Naturally you can build the project from the sources: see "Hacking" below.

Installing Reko

Windows users

The following prerequisite software must be installed on your machine first:

Download an MSI file from one of the places mentioned above, then simply run the installer.

Non-Windows users

The following prerequisite software must be installed on your machine first:

After installing mono, you can proceed by either downloading binaries directly from the integration build server, or by building Reko from sources (see Hacking below).

Documentation

To get acquainted with Reko's various features, you can read the user's guide. If you're interested in the internal workings of the project, see the wiki.

Getting support

You can report any issues you encounter or ask any Reko-related question on the issue tracker. You can also try the Reko Gitter.im chatroom. Reko is built by volunteers' efforts on their spare time, so adjust your response-time expectations accordingly.

Hacking

To build reko, start by cloning https://github.com/uxmal/reko. You can use an IDE or the command line to build the solution file Reko-decompiler.sln. If you are an IDE user, use Visual Studio 2017 or later, or MonoDevelop version 5.10 or later. If you wish to build using the command line, use the command

msbuild Reko-decompiler.sln

(provided you have msbuild installed). All external dependencies needed to build Reko are included in the external directory.

Note: please let us know if you still are not able to compile, so we can help you fix the issue.

If you're interested in contributing code, see the road map for areas to explore. The Wiki has more information about the Reko project's internal workings. Please consult the style guide.

Warnings and errors related to WiX

You will receive warnings or errors when loading the solution in Visual Studio or MonoDevelop if you haven't installed the WiX toolset on your development machine. You can safely ignore the warnings; the WiX toolset is only used when making MSI installer packages, and isn't even supported in MonoDevelop. You will not need to build an installer if you're already able to compile the project: the build process copies all the necessary files into If you do want to build an MSI installer with the WiX toolchain, you can download it here: http://wixtoolset.org/releases/

Errors related to CMake in Visual Studio

Depending on what you do Visual Studio might try to rebuild NativeProxy which depends on CMake. You can either install CMake and make sure it's added to your PATH or disable the project in Visual Studio.

Having CMake installed as part of Visual Studio is sufficient to run msbuild from the Developer Command Prompt but not when building from inside VS, unless you've added that to your global PATH. Installing CMake externally allows you to add it to PATH during the installation.

How do I start Reko?

The solution folder Drivers contains the executables that act as user interfaces: the directory WindowsDecompiler contains the GUI client for Windows users; MonoDecompiler contains the GUI client for Mono users; CmdLine is a command line driver.

Recent versions

See NEWS.md for the change log.

You can’t perform that action at this time.