PyRappel
PyRappel is an interactive assembler with ptrace support - a Python version of the original rappel tool.
Installation
From PyPI (recommended)
pip install pyrappel
From source
git clone <repository-url>
cd pyrappelv2
pip install .
Development installation
git clone <repository-url>
cd pyrappelv2
pip install -e .[dev]
Usage
After pip installation, PyRappel is automatically installed as a system-wide executable. You can run it from anywhere in your terminal:
pyrappel -h
The pyrappel command is automatically:
- Installed in your system PATH (e.g.,
/usr/local/bin/pyrappelor~/.local/bin/pyrappel) - Made executable
- Available from any directory
Command line options:
-a, --arch: Target architecture (x86 or x64, default: x64)-s, --start-addr: Start virtual address for code execution (default: 0x400000)-A, --all-regs: Display all available registers (including FP/SSE)-v, --verbose: Enable verbose output
Examples:
# Start with x64 architecture (default)
pyrappel
# Start with x86 architecture
pyrappel -a x86
# Start with custom start address
pyrappel -s 0x10000000
# Show all registers
pyrappel -A
Requirements
- Python 3.11+
- Linux (ptrace support required)
- Dependencies are automatically installed via pip
Development
The package uses modern Python packaging with pyproject.toml. For development:
pip install -e .[dev]
Original Project
This is a Python reimplementation of the original C version: Rappel
Metadata
Release files for pyrappel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrappel-0.1.0.tar.gz | 67.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrappel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.5 kB
Release files / pyrappel-0.1.0.tar.gz
| Download URL | pyrappel-0.1.0.tar.gz |
|---|---|
| Size | 67.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49b2cc68f7cf235164f83693067c4110a37db1ce8b4af92042324517674f35f3
|
|
BLAKE2b-256 checksum How to use checksums |
caa6f0a52b16fd16e9060f52f025e47c1f8d1953c04362b17da5bb21c75b1be0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2025.
Transparency logRelease files / pyrappel-0.1.0-py3-none-any.whl
| Download URL | pyrappel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97d53768c72a1426002eddf55abadc67830f448fe9daa55a692e421d3168bb35
|
|
BLAKE2b-256 checksum How to use checksums |
afccb3948eabffc006c93ca422df11a9fb7a634672588e31aad19149736698e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2025.
Transparency log