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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patcherex2-0.2.13.tar.gz (234.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patcherex2-0.2.13-py3-none-any.whl (98.5 kB view details)

Uploaded Python 3

File details

Details for the file patcherex2-0.2.13.tar.gz.

File metadata

  • Download URL: patcherex2-0.2.13.tar.gz
  • Upload date:
  • Size: 234.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for patcherex2-0.2.13.tar.gz
Algorithm Hash digest
SHA256 39165e50ea6f5f19ed63c727bdaf082a02963c8eeb7a2c5175573b079df42f1b
MD5 caad630a27f5b34af535c2c84d853f96
BLAKE2b-256 444f16240837fa27ccdbd2ec89753e0ebe6547bd40ec415471eea567bb5700b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherex2-0.2.13.tar.gz:

Publisher: pypi.yml on purseclab/Patcherex2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file patcherex2-0.2.13-py3-none-any.whl.

File metadata

  • Download URL: patcherex2-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 98.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for patcherex2-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa6484fee48688e6e2c3a08ce0d1f5d2b3d0849022bce21572f7be7af8b980b
MD5 ca8ffe98a3b063c82178d225e167f714
BLAKE2b-256 b83e2af8acc91c23988686ebb7b4f8ce3e418a947e88e9c33634569f2a737aae

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherex2-0.2.13-py3-none-any.whl:

Publisher: pypi.yml on purseclab/Patcherex2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.14

2 files

This release

0.2.13 This release

2 files

0.2.12

2 files

0.2.11

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 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