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 developed as part of the DARPA AMP program, under contract N6600120C4031.

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.9.tar.gz (199.4 kB view details)

Uploaded Source

Built Distribution

patcherex2-0.2.9-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for patcherex2-0.2.9.tar.gz
Algorithm Hash digest
SHA256 1dfce3695c06a89221bdf5585a63a02e5b4b1658bd569ef249a4d6b0b1810710
MD5 4a8c86ce2e3ea97c7eb9ec96bb61411c
BLAKE2b-256 20c170023c8c9e10109c3b8c6b23749d09d31b312beff7939c2f8c52a13c8741

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for patcherex2-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9703854e70de26fa5eaf03dace93a5c616c39f366e5756d1b51490a30df097
MD5 84a0e7bceb33addc916930706e5935f3
BLAKE2b-256 ee14d2b01342849ca8edd96b9eaf4b8e5691c8f4ecd00ff123ee998e3e5d4220

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherex2-0.2.9-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page