Skip to content

AbhiTheModder/nyxstone-r2

Repository files navigation

Radare2 Nyxstone Plugin

This repository contains Nyxstone assembler plugins for Radare2, providing high-quality assembly support for multiple architectures through the LLVM-based Nyxstone framework.

How to install

pretty easy

  1. Install LLVM 15-18 for nyxstone, follow their installation guide here
  2. Rest of the dependencies are handled by the Makefile, so you can just run:
make install

to uninstall jyst:

make uninstall

How to use it?

$ rasm2 -L | grep nyx
a__ 32 64       mips.nyx    MIPS nyxstone assembler
a__ 16 32 64    arm.nyx     ARM Nyxstone assembler
a__ 32 64       riscv.nyx   RISC-V nyxstone assembler
a__ 32 64       x86.nyx     x86 nyxstone assembler
a__ 32 64       ppc.nyx     PowerPC nyxstone assembler

$ rasm2 -a arm.nyx -b 64 "ldr x16, [x16, 0x8d0]"
106a44f9

$ rasm2 -x -a arm.nyx -b 64 "ldr x16, [x16, 0x8d0]"
0xf9446a10

About

r2 nyxstone plugin

Topics

Resources

Stars

Watchers

Forks

Contributors