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

Uploaded Source

Built Distribution

patcherex2-0.2.4-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patcherex2-0.2.4.tar.gz
  • Upload date:
  • Size: 147.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for patcherex2-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c87d5b2563e3dde31a2a372fd21bdab0ca14a1646ddf4be39abaf728cb3ce459
MD5 def5120c85477d07850456fef198f946
BLAKE2b-256 804ee463c6c2b2821b050debbd38a2ebc43ab4b4e8de0d92dcda83974ee4074c

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on purseclab/Patcherex2

Attestations:

File details

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

File metadata

  • Download URL: patcherex2-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 73.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for patcherex2-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c54ff21b5a1034d7b665ab330e7b6e9e8c00fdd04e449ba871a05ff9c5e9f2aa
MD5 c5891d912378a5a1feb9a7644da290b2
BLAKE2b-256 4171e3ddb985fed0a7b13e0fc5c8cfbb7026985c5b30de866a0a93157d64829f

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on purseclab/Patcherex2

Attestations:

Supported by

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