rvdasm 0.1.1

A RISC-V disassembler written in Rust
Documentation

RVDASM

A RISC-V disassmbler written in rust.

Key features

  • Correct: code-gen from riscv-opcodes
  • Programmer-friedly: outputs to struct, not string
  • Simple: easy to read and modify

The isa.rs file is generated from iansseijelly:riscv-opcodes. Run

make EXTENSIONS='rv*_i rv*_m rv*_a rv*_c rv*_zicsr rv*_f rv_system rv*_d'

in that repo to generate isa.rs.

Usage

Example:

RUST_LOG=debug cargo run  --example dasm -- --file [ELF] --print