# QBDI/QBDI

A Dynamic Binary Instrumentation framework based on LLVM.

Repository: https://github.com/QBDI/QBDI
Canonical: https://ross.abutalabs.com/products/qbdi
Homepage: https://qbdi.quarkslab.com
Language: C++
License: NOASSERTION
License Family: other
Topics: dbi, instrumentation, frida, reverse-engineering, llvm
Last push: 2026-08-21T14:41:17+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 53, longevity 100
- inputs: {"age_days": 3235, "days_push": 12, "days_rel": 238, "gap_med": 85, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1815, forks 227 (observed 2026-08-28T04:05:39.929307+00:00)

## What it is
QBDI (QuarkslaB Dynamic binary Instrumentation) is a modular, cross-platform, cross-architecture DBI framework built on LLVM, supporting x86, x86-64, ARM, and AArch64. It offers C/C++ APIs plus Python and Frida bindings for scripting runtime instrumentation of binaries.

## Use cases
- instrument a binary at runtime to trace executed instructions
- build custom reverse engineering tools with Frida and QBDI
- analyze malware behavior by hooking instructions on x86-64 or ARM
- script dynamic instrumentation in Python with PyQBDI
- trace memory accesses in an Android or iOS native app
- inject instrumentation code into a process via LD_PRELOAD

## When to choose
- you need a modern DBI framework with mobile platform (Android/iOS) support
- you want Python or Frida bindings to script instrumentation
- you need cross-architecture coverage including ARM and AArch64
- you want to build custom analysis tools rather than use a monolithic debugger

## When to avoid
- your target relies heavily on signals, multithreading, or C++ exceptions, which QBDI does not handle
- you need a turnkey instrumentation tool with built-in injection on all platforms
- you only need simple function-level hooking that Frida alone covers

## Facets
- artifact type: library
- maturity: active
- function: reverse-engineering, security, sdk, developer-tools
- domain: reverse-engineering, security, developer-tools
- platform: windows, python, cpp, rust
- tags: dbi, dynamic-binary-instrumentation, llvm, frida, pyqbdi, code-injection, tracing, linux, macos, android, ios

## Member repositories
- QBDI/QBDI (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.929307+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:20:37.702770+00:00, confidence not recorded.
  - readme: https://github.com/QBDI/QBDI (fetched 2026-08-28T04:05:39.929307+00:00, sha d4a06acdfc8a)
  - homepage: https://qbdi.quarkslab.com (fetched 2026-08-29T10:59:27.667897+00:00, sha 822f86bc2e32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
