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

fugue-radare

A binary analysis framework written in Rust

1 unstable release

0.2.3 Feb 9, 2024

#24 in #import-export


Used in 2 crates (via fuguex-loader)

MIT and maybe LGPL-3.0+

1MB
916 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

~11–46MB
~739K SLoC