#fugue #analysis #exporter #import-export #db #radare #rizin

fugue-radare

A binary analysis framework written in Rust

2 releases

new 0.2.4 Oct 26, 2024
0.2.3 Feb 9, 2024

#12 in #import-export


Used in 2 crates (via fuguex-loader)

MIT and maybe LGPL-3.0+

1MB
933 lines

Contains (DOS exe, 60KB) tests/tetris.efi, (ELF exe/lib, 40KB) tests/true

fugue-radare

Radare/Rizin exporter and importer for Fugue.

Uses r2pipe; attempts to work-around minor differences in behaviour between radare and rizin.

Prerequisites

git submodule init
git submodule update

lib.rs:

Fugue import/export glue for Radare and Rizin.

Example use:

use fugue::db::DatabaseImporter;
use fugue::ir::LanguageDB;

let ldb = LanguageDB::from_directory_with("path/to/processors", true)?;
let mut dbi = DatabaseImporter::new("/bin/ls");

dbi.register_backend(Radare::new_rizin()?);

let db = dbi.import(&ldb)?;

Dependencies

~10–41MB
~694K SLoC