No project description provided
Project description
Patcherex2
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c87d5b2563e3dde31a2a372fd21bdab0ca14a1646ddf4be39abaf728cb3ce459 |
|
MD5 | def5120c85477d07850456fef198f946 |
|
BLAKE2b-256 | 804ee463c6c2b2821b050debbd38a2ebc43ab4b4e8de0d92dcda83974ee4074c |
Provenance
The following attestation bundles were made for patcherex2-0.2.4.tar.gz
:
Publisher:
pypi.yml
on purseclab/Patcherex2
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
patcherex2-0.2.4.tar.gz
- Subject digest:
c87d5b2563e3dde31a2a372fd21bdab0ca14a1646ddf4be39abaf728cb3ce459
- Sigstore transparency entry: 150878515
- Sigstore integration time:
- Predicate type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54ff21b5a1034d7b665ab330e7b6e9e8c00fdd04e449ba871a05ff9c5e9f2aa |
|
MD5 | c5891d912378a5a1feb9a7644da290b2 |
|
BLAKE2b-256 | 4171e3ddb985fed0a7b13e0fc5c8cfbb7026985c5b30de866a0a93157d64829f |
Provenance
The following attestation bundles were made for patcherex2-0.2.4-py3-none-any.whl
:
Publisher:
pypi.yml
on purseclab/Patcherex2
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
patcherex2-0.2.4-py3-none-any.whl
- Subject digest:
c54ff21b5a1034d7b665ab330e7b6e9e8c00fdd04e449ba871a05ff9c5e9f2aa
- Sigstore transparency entry: 150878518
- Sigstore integration time:
- Predicate type: