Skip to main content

No project description provided

Project description

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.

Project details


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.11.tar.gz (201.3 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.11-py3-none-any.whl (84.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patcherex2-0.2.11.tar.gz
  • Upload date:
  • Size: 201.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for patcherex2-0.2.11.tar.gz
Algorithm Hash digest
SHA256 c767d9c6e83411a4ede5764d289bac7baa1f55cc4035c4a5d5e587dcb96c4daa
MD5 0cc4a5a7a9f3a320e13b4dad9428ba6d
BLAKE2b-256 8c128f31548f4d153c5c4774d9935fd3cff3fffa6cd954024d5a2f9093819407

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherex2-0.2.11.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.11-py3-none-any.whl.

File metadata

  • Download URL: patcherex2-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 84.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for patcherex2-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6b37ed9b7209ce891b5cba97cbabdaf204cf7d57c108396e8d5ca8633d248d10
MD5 61fe53e22b99d46307f413d3b45dfd63
BLAKE2b-256 dfc759396338b12969b02946f60f00477733e7fe6a6dcf7503f69c9deda99d81

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherex2-0.2.11-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page