Skip to main content

Patcherex2 Latest Release PyPI Statistics CI License

Patcherex2 is a rewritten adaptation of the original Patcherex project, aimed at building upon its core ideas and extending its capabilities.

Installation

Patcherex2 is available on PyPI and can be installed using pip. Alternatively, you can use the provided Docker image.

pip

pip install patcherex2
Install from latest commit
pip install git+https://github.com/purseclab/Patcherex2.git

Docker

docker run --rm -it -v ${PWD}:/workdir -w /workdir ghcr.io/purseclab/patcherex2
Build from latest commit
docker build -t patcherex2 --platform linux/amd64 https://github.com/purseclab/Patcherex2.git
docker run --rm -it -v ${PWD}:/workdir -w /workdir patcherex2

Usage

You can find usage examples here.

Documentation

General documentation and API reference for Patcherex2 can be found at purseclab.github.io/Patcherex2.

Supported Targets

Linux x86 Linux amd64 Linux arm Linux aarch64 Linux PowerPC (32bit) Linux PowerPC (64bit) Linux PowerPCle (64bit) Linux MIPS (32bit) Linux MIPS (64bit) Linux MIPSEL
​(32bit)
Linux MIPSEL
(64bit)
Linux s390x SPARCv8 (LEON3) PowerPC (VLE) (IHEX)
InsertDataPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
RemoveDataPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
ModifyDataPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
InsertInstructionPatch (ASM) 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
InsertInstructionPatch (C) 🟥 🟩 🟥 🟩 🟥 🟥 🟥 🟥 🟥 🟥 🟥 🟥 🟥 🟥
RemoveInstructionPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
ModifyInstructionPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ⬜ ⬜
InsertFunctionPatch 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟨 ⬜ ⬜
ModifyFunctionPatch 🟨 🟩 🟩 🟩 🟨 🟨 🟨 🟨 🟨 🟨 🟨 🟨 ⬜ ⬜

🟩 Fully Functional, 🟨 Limited Functionality, 🟥 Not Working, ⬜ Not Tested, 🟪 Work in Progress

Acknowledgements

This project was initially developed as part of the DARPA AMP program, under contract N6600120C4031. This project is also supported by NSF, under Award # 2442339.

Metadata

Release files for patcherex2 0.2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patcherex2 0.2.14
File Size Uploaded
patcherex2-0.2.14.tar.gz 234.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patcherex2 0.2.14
File Interpreter ABI Platform
patcherex2-0.2.14-py3-none-any.whl Python 3 none any Details

Total release size: 332.7 kB

Release files / patcherex2-0.2.14.tar.gz

Download URL patcherex2-0.2.14.tar.gz
Size 234.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c72f34e2ffd29d2d7e9a5ac307e006e9cdfa6b2c1599ff4e7bb5d5d9ff62f6b7
BLAKE2b-256 checksum
How to use checksums
517668ab1472a76200cfecc5136ebd7a88796790d7850e86dd67eab171c3d482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 21, 2026.

Transparency log

Release files / patcherex2-0.2.14-py3-none-any.whl

Download URL patcherex2-0.2.14-py3-none-any.whl
Size 98.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfc7b39616c0ac9b201829b7c57725e53a9f385472c98c729626fdfbe1e8c16a
BLAKE2b-256 checksum
How to use checksums
d7b2e04473f686e3790e97ebc0d79675fca89157ab629cf29f82aa045ac186de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.14 This release

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page