wasamasa / radare2-rlang

Writing Radare2 plugins in various languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

radare2-rlang

Tests Status

RLang plugins are used to instantiate a VM inside radare2 to run scripts by keeping the internal state alive along multiple executions. This is like interpretting scripts using r2pipe, but with extra features:

  • No need to instantiate and load the libraries on every call
  • Keep global state between runs
  • Write asm/anal/bin plugins in dynamic languages
  • Support Python, Javascript and others!

Building

Check for dependencies and build

./configure --prefix=/usr
make
make install

If you want to build a specific plugin, just cd into the right directory.

./configure --prefix=/usr
cd python
make
make install

About

Writing Radare2 plugins in various languages


Languages

Language:C 97.3%Language:C# 1.1%Language:Lua 0.8%Language:Python 0.3%Language:Makefile 0.2%Language:Ruby 0.1%Language:V 0.0%Language:Shell 0.0%Language:JavaScript 0.0%