No project description provided
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c767d9c6e83411a4ede5764d289bac7baa1f55cc4035c4a5d5e587dcb96c4daa
|
|
| MD5 |
0cc4a5a7a9f3a320e13b4dad9428ba6d
|
|
| BLAKE2b-256 |
8c128f31548f4d153c5c4774d9935fd3cff3fffa6cd954024d5a2f9093819407
|
Provenance
The following attestation bundles were made for patcherex2-0.2.11.tar.gz:
Publisher:
pypi.yml on purseclab/Patcherex2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
patcherex2-0.2.11.tar.gz -
Subject digest:
c767d9c6e83411a4ede5764d289bac7baa1f55cc4035c4a5d5e587dcb96c4daa - Sigstore transparency entry: 1345313058
- Sigstore integration time:
-
Permalink:
purseclab/Patcherex2@57b0570843ed02bfcf9dd0bc9867c9045a82bb93 -
Branch / Tag:
refs/tags/0.2.11 - Owner: https://github.com/purseclab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@57b0570843ed02bfcf9dd0bc9867c9045a82bb93 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b37ed9b7209ce891b5cba97cbabdaf204cf7d57c108396e8d5ca8633d248d10
|
|
| MD5 |
61fe53e22b99d46307f413d3b45dfd63
|
|
| BLAKE2b-256 |
dfc759396338b12969b02946f60f00477733e7fe6a6dcf7503f69c9deda99d81
|
Provenance
The following attestation bundles were made for patcherex2-0.2.11-py3-none-any.whl:
Publisher:
pypi.yml on purseclab/Patcherex2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
patcherex2-0.2.11-py3-none-any.whl -
Subject digest:
6b37ed9b7209ce891b5cba97cbabdaf204cf7d57c108396e8d5ca8633d248d10 - Sigstore transparency entry: 1345313156
- Sigstore integration time:
-
Permalink:
purseclab/Patcherex2@57b0570843ed02bfcf9dd0bc9867c9045a82bb93 -
Branch / Tag:
refs/tags/0.2.11 - Owner: https://github.com/purseclab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@57b0570843ed02bfcf9dd0bc9867c9045a82bb93 -
Trigger Event:
release
-
Statement type: