# JonathanSalwan/ROPgadget

This tool lets you search your gadgets on your binaries to facilitate your ROP exploitation. ROPgadget supports ELF, PE and Mach-O format on x86, x64, ARM, ARM64, PowerPC, SPARC, MIPS, RISC-V 64, and RISC-V Compressed architectures.

Repository: https://github.com/JonathanSalwan/ROPgadget
Canonical: https://ross.abutalabs.com/products/ropgadget
Language: Python
License: NOASSERTION
License Family: other
Topics: reverse-engineering, rop, rop-exploitation, rop-gadgets, binary-exploitation
Last push: 2026-06-24T05:49:04+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 20, longevity 100
- inputs: {"age_days": 5493, "days_push": 70, "days_rel": 322, "gap_med": 189.5, "n_releases_24m": 3}
- 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 4470, forks 578 (observed 2026-08-28T04:08:50.949821+00:00)

## What it is
ROPgadget is a Python command-line tool that searches binaries for ROP gadgets to facilitate return-oriented programming exploitation. It supports ELF, PE, Mach-O, and raw formats across x86, x64, ARM, ARM64, PowerPC, SPARC, MIPS, and RISC-V architectures using the Capstone disassembler.

## Use cases
- find rop gadgets in a binary
- build a rop chain for exploit development
- search for gadgets in an elf or pe binary
- generate a ropchain automatically
- find syscall gadgets in a binary
- analyze arm or mips binaries for gadgets
- search opcodes or strings in executable segments

## When to choose
- you are doing binary exploitation or CTF challenges and need ROP gadgets
- you need multi-architecture gadget search including ARM, MIPS, and RISC-V
- you want a scriptable Python tool with filtering, bad-byte handling, and ropchain generation

## When to avoid
- you need GUI-based reverse engineering or full static analysis rather than gadget search
- you are looking for a vulnerability scanner or fuzzer rather than an exploitation helper

## Facets
- artifact type: cli-tool
- maturity: active
- function: reverse-engineering, security, cli, parser
- domain: security, reverse-engineering, developer-tools
- platform: windows, python, cli, cross-platform
- tags: rop-gadgets, binary-exploitation, exploitation, disassembler, capstone, elf, pe, mach-o, pwn, command-line, linux, macos

## Member repositories
- JonathanSalwan/ROPgadget (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.949821+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-29T18:20:36.583981+00:00, confidence not recorded.
  - readme: https://github.com/JonathanSalwan/ROPgadget (fetched 2026-08-28T04:08:50.949821+00:00, sha 624d953cf643)
  - registry_pypi: https://pypi.org/pypi/ropgadget/json (fetched 2026-08-29T09:07:04.150868+00:00, sha f7893fced4a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
