Giter Club home page Giter Club logo

sleigh3rust's Introduction

This is just a demonstration of what sleigh-rs and sleigh2rust are able to accomplish.

The code in each folder was generated by parsing the sleigh files from ghidra using sleigh-rs, then generating the rust code with sleigh2rust. The sleigh3test uses this crate to execute basic disassembly tests.

This project still in a early PoC (Proof-of-Concept) stage.

Each CPU are located in their own crate, they are compiled as dylib.

The create dyn-test include multiple tests that will load and test each cpu architecture.

The objective of this project is to implement and MVP disassembler/emulator. Currently the code generated is unecessarelly verbose and slow, because this is not the goal at this stage of the project.

List of CPUs and variants:

โœ…: Implemented ๐Ÿšง: In Construction

Family Variant Disassembler
68000 68020 โœ…
68000 68030 โœ…
68000 68040 โœ…
68000 coldfire โœ…
HCS12 HCS12 โœ…
Atmel avr8 โœ…
Atmel avr8e โœ…
Atmel avr32a ๐Ÿšง
Atmel avr8xmega ๐Ÿšง
Atmel avr8eind ๐Ÿšง
8048 8048 ๐Ÿšง
PA-RISC pa-risc32be โœ…
RISCV riscv.ilp32d โœ…
RISCV riscv.lp64d โœ…
V850 V850 โœ…
6502 6502 โœ…
6502 65c02 โœ…
CR16 CR16B โœ…
CR16 CR16C โœ…
Z80 z80 โœ…
Z80 z180 โœ…
HCS08 HC05 โœ…
HCS08 HC08 โœ…
HCS08 HCS08 โœ…
tricore tricore โœ…
MC6800 6805 โœ…
MC6800 6809 โœ…
MC6800 H6309 โœ…
MCS96 MCS96 โœ…
TI_MSP430 TI_MSP430 ๐Ÿšง
TI_MSP430 TI_MSP430X ๐Ÿšง
CP1600 CP1600 โœ…
M8C m8c โœ…
8051 8051 โœ…
8051 80251 โœ…
8051 80390 โœ…
8051 mx51 โœ…
8085 8085 โœ…
MIPS mips32be โœ…
MIPS mips32le โœ…
MIPS mips32R6be โœ…
MIPS mips32R6le โœ…
MIPS mips64be โœ…
MIPS mips64le โœ…
AARCH64 AARCH64 โœ…
AARCH64 AARCH64BE โœ…
AARCH64 AARCH64_AppleSilicon โœ…
JVM JVM โœ…
Dalvik Dalvik_Base โœ…
Dalvik Dalvik_ODEX_KitKat โœ…
Dalvik Dalvik_DEX_KitKat โœ…
Dalvik Dalvik_DEX_Lollipop โœ…
Dalvik Dalvik_DEX_Marshmallow โœ…
Dalvik Dalvik_DEX_Nougat โœ…
Dalvik Dalvik_DEX_Oreo โœ…
Dalvik Dalvik_DEX_Pie โœ…
Dalvik Dalvik_DEX_Android10 โœ…
Dalvik Dalvik_DEX_Android11 โœ…
Dalvik Dalvik_DEX_Android12 โœ…
PowerPC ppc_32_be โœ…
PowerPC ppc_32_le โœ…
PowerPC ppc_32_quicciii_be โœ…
PowerPC ppc_32_quicciii_le โœ…
PowerPC ppc_32_4xx_be โœ…
PowerPC ppc_32_4xx_le โœ…
PowerPC ppc_64_be โœ…
PowerPC ppc_64_le โœ…
PowerPC ppc_64_isa_be โœ…
PowerPC ppc_64_isa_le โœ…
PowerPC ppc_64_isa_altivec_be โœ…
PowerPC ppc_64_isa_altivec_le โœ…
PowerPC ppc_64_isa_altivec_vle_be โœ…
PowerPC ppc_64_isa_vle_be โœ…
x86 x86 โœ…
x86 x86_64 โœ…
Sparc SparcV9_32 โœ…
Sparc SparcV9_64 โœ…
ARM ARM4_be โœ…
ARM ARM4_le โœ…
ARM ARM4t_be โœ…
ARM ARM4t_le โœ…
ARM ARM5_be โœ…
ARM ARM5_le โœ…
ARM ARM5t_be โœ…
ARM ARM5t_le โœ…
ARM ARM6_be โœ…
ARM ARM6_le โœ…
ARM ARM7_be โœ…
ARM ARM7_le โœ…
ARM ARM8_be โœ…
ARM ARM8_le โœ…
SuperH4 SuperH4_be โœ…
SuperH4 SuperH4_le โœ…
SuperH sh-1 โœ…
SuperH sh-2 โœ…
SuperH sh-2a โœ…
Toy toy_builder_be_align2 โœ…
Toy toy_builder_le_align2 โœ…
Toy toy_builder_le โœ…
Toy toy_be_posStack โœ…
Toy toy_builder_be โœ…
Toy toy_wsz_be โœ…
Toy toy_wsz_le โœ…
Toy toy_be โœ…
Toy toy_le โœ…
Toy toy64_be โœ…
Toy toy64_le โœ…
Toy toy64_be_harvard โœ…
PIC pic12c5xx โœ…
PIC pic16c5x โœ…
PIC pic16 โœ…
PIC pic16f โœ…
PIC pic17c7xx โœ…
PIC pic18 โœ…
PIC PIC24E โœ…
PIC PIC24F โœ…
PIC PIC24H โœ…
PIC dsPIC30F โœ…
PIC dsPIC33C โœ…
PIC dsPIC33E โœ…
PIC dsPIC33F โœ…

sleigh3rust's People

Contributors

rbran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.