Reko.Decompiler.Runtime 0.12.0

dotnet add package Reko.Decompiler.Runtime --version 0.12.0
                    
NuGet\Install-Package Reko.Decompiler.Runtime -Version 0.12.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Reko.Decompiler.Runtime" Version="0.12.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Reko.Decompiler.Runtime" Version="0.12.0" />
                    
Directory.Packages.props
<PackageReference Include="Reko.Decompiler.Runtime" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Reko.Decompiler.Runtime --version 0.12.0
                    
#r "nuget: Reko.Decompiler.Runtime, 0.12.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Reko.Decompiler.Runtime&version=0.12.0
                    
Install Reko.Decompiler.Runtime as a Cake Addin
#tool nuget:?package=Reko.Decompiler.Runtime&version=0.12.0
                    
Install Reko.Decompiler.Runtime as a Cake Tool

Reko Decompiler runtime

The Reko Decompler runtime provides reverse engineering tools intended for use within .NET programs.

Included in the NuGet are:

  • Disassemblers and lifters for various CPU architectures, including general purpose CPUs (like x86, ARM, MIPS and Risc-V), microcontrollers (like H8, MSP430, Xtensa), and historical CPU architectures (like Z80, 6502, M68k, VAX, PDP-10) For a full list of supported architectures, visit the Reko project.
  • File loaders for executable file formats (like MS-DOS EXE, Windows NE and PE executables, ELF, and COFF)
  • Classes and interfaces for representing concepts like "memory", "registers", "machine instruction", "disassembler", "emulator".

Disassembling a fragment of ARM machine code

using Reko.Arch.Arm.AArch32;
using Reko.Core;
using Reko.Core.Memory;
using System.ComponentModel.Design;

// Create some ARM machine code and put it in a
// memory area at a specific address.
byte[] bytes = new byte[] { 0x3A, 0xB7, 0xB1, 0xE3 };
Address addr = Address.Ptr32(0x0100_0000);
var mem = new ByteMemoryArea(addr, bytes);

// Create an instance of the ARM32 architecture object.
var sc = new ServiceContainer();
var armArch = new Reko.Arch.Arm.Arm32Architecture(sc, "arm32", new());

// Create a little-endian image reader starting at the
// address addr, and disassemble instructions until
// the end of the memory area has been reached.
var reader = mem.CreateLeReader(addr);
var disassembler = armArch.CreateDisassembler(reader);
foreach (AArch32Instruction instr in disassembler)
{
    Console.WriteLine("{0}: {1}", instr.Address, instr);
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Reko.Decompiler.Runtime:

Repository Stars
mosa/MOSA-Project
Managed Operating System Alliance Project
Version Downloads Last updated
0.12.0 0 10 hours ago
0.11.6 123 3 months ago
0.11.5 1,249 3/21/2024
0.11.4 2,833 9/3/2023
0.11.3 7,636 1/5/2023
0.11.2 3,002 12/5/2022
0.11.1 1,203 4/7/2022
0.11.0 552 3/13/2022
0.10.1 14,655 9/21/2021
0.10.0 4,304 8/16/2021
0.9.3 4,242 2/6/2021
0.9.2 5,250 10/2/2020
0.9.2-prerelease2 415 9/30/2020
0.9.2-prerelease 375 9/30/2020

Reko now requires .NET 8.