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.2.tar.gz
.
File metadata
- Download URL: patcherex2-0.2.2.tar.gz
- Upload date:
- Size: 49.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eccabe5fe8b62757614a6763450eaf58c7ebe17784f360c1418f1cc80c27596a |
|
MD5 | 1e3ebb9022f7d251845107ed9c311678 |
|
BLAKE2b-256 | bf853f27ca0190637a76029eb7d4f93abaf9656d6117d2feb9b8f1299a423f6a |
File details
Details for the file patcherex2-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: patcherex2-0.2.2-py3-none-any.whl
- Upload date:
- Size: 72.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4863db73a5a00a107e79fbc662ae5211602a7f411c164a401e4285c5b9044c34 |
|
MD5 | 9f70175996bde8c5ba10020d25d0a6e4 |
|
BLAKE2b-256 | 8caf285dfb7f5528b6b624b10e0af1910d1fb2a1effa57af6f07fea7e885bff1 |