Skip to content

Processor architecture

John Källén edited this page Jan 8, 2017 · 1 revision

In order to handle different processor architectures, Reko uses the processor architecture abstraction. Each processor is modeled by its own implementation of Reko.Core.IProcessorArchitecture. The interface provides Reko with, among other things, methods to create disassemblers, rewriters and image readers with the appropriate endianness.

Each processor architecture is identified by an architecture identifier, a short unique string. For instance, the Motorola M68000 architecture family is identified by the string "m68k".

Processor architectures are registered with Reko by adding an <Architecture> element in the reko.config file. The Name attribute specifies the architecture identifier. The Type attribute specifies the type name of the class that implements the IProcessorArchitecture interface. Reko uses this information to load the processor architecture dynamically.

Clone this wiki locally