#binary-analysis #fugue #framework #primitive

fugue-bytes

A binary analysis framework written in Rust

1 unstable release

0.2.2 May 9, 2023

#7 in #fugue

Download history 137/week @ 2024-11-13 241/week @ 2024-11-20 165/week @ 2024-11-27 134/week @ 2024-12-04 79/week @ 2024-12-11 109/week @ 2024-12-18 12/week @ 2024-12-25 51/week @ 2025-01-01 97/week @ 2025-01-08 151/week @ 2025-01-15 105/week @ 2025-01-22 43/week @ 2025-01-29 55/week @ 2025-02-05 72/week @ 2025-02-12 69/week @ 2025-02-19 84/week @ 2025-02-26

284 downloads per month
Used in 28 crates (6 directly)

MIT license

10KB
251 lines

Fugue logo

Fugue Binary Analysis Framework

DOI

Fugue is a binary analysis framework in the spirit of B2R2 and BAP, with a focus on providing reusable components to rapidly prototype new binary analysis tools and techniques.

Fugue is built around a core collection of crates, i.e., fugue-core. These crates provide a number of fundamental capabilities:

  • Data structures and types:

    • Architecture definitions (fugue-arch).
    • Bit vectors (fugue-bv).
    • Floating point numbers (fugue-fp).
    • Endian-aware conversion to and from various primitive types (fugue-bytes).
  • Program representations and abstractions:

    • A knowledge database to represent program binaries that can be populated using third-party tools (fugue-db).
    • Disassembly and lifting to intermediate representations (fugue-ir).

Prerequisites

git submodule init
git submodule update --recursive

Build

cargo build

Dependencies

~0.4–1MB
~23K SLoC