吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2900|回复: 5
收起左侧

[Disassemblers] reko - a general purpose decompiler

  [复制链接]
风吹屁屁凉 发表于 2021-8-19 12:07
Reko (Swedish: "decent, obliging") is 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.

image.png

image.png

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 Githuband SourceForge. Users who can't or won't build Reko themselves can download the output of the Cirrus CI integration builder or the Github Actions 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:

.NET Core 3.1 (https://www.microsoft.com/net/download/dotnet-framework-runtime)
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:

.NET Core 3.1 for Linux (https://docs.microsoft.com/en-us/dotnet/core/install/linux)
.NET Core 3.1 for macOS (https://docs.microsoft.com/en-us/dotnet/core/install/macos)
After installing .NET Core as appropriate for your operating system, 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 src/Reko-decompiler.sln. Reko requires .NET Core 3.1 and C# 8 to compile. If you are an Windows IDE user, use Visual Studio 2019 or VS Code. If you wish to build using the command line, use the command

msbuild /p:Configuration={config} /p:Platform={platform} Reko-decompiler.sln
(provided you have msbuild installed). Replace {config} with either Debug or Release, and {platform} with x64 or x86. 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 Wikihas 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.

Download:https://github.com/uxmal/reko/releases

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

xiawan 发表于 2021-8-20 08:48

此贴必火,占位刘留名~~~~
FleTime 发表于 2021-10-31 21:37
Version 0.10.1
This maintenance release moves Reko from .NET Core 3.1 to .NET 5.0, resulting in some performance gains.
It also fixes the MSI installers for Windows, which had several issues (including #1066 and #1067). Special thanks to @smx-smx for his work on his CI integration work.

The Reko build system now assumes C# 9.0
Crude support for #define directives in the Reko C parser
Overhaul of PA-RISC and HP SOM loader
The command line driver --version switch displays the git hash used to build the binary.
Improvements in AArch64 disassembler and rewriter (with @rfalke as a driving force)

https://github.com/uxmal/reko/releases/tag/version-0.10.1
星空あおあのtom 发表于 2022-7-28 14:38
moli964217 发表于 2023-6-10 23:07
感谢分享感谢分享
chenlinpsp 发表于 2023-6-15 13:29
感谢大佬分享
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-4-29 16:14

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表