https://github.com/claudemuller/bin-patcher
A binary patcher made in Go
https://github.com/claudemuller/bin-patcher
binary-patching go
Last synced: 7 months ago
JSON representation
A binary patcher made in Go
- Host: GitHub
- URL: https://github.com/claudemuller/bin-patcher
- Owner: claudemuller
- Created: 2022-08-27T09:31:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T03:38:17.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T23:30:36.478Z (9 months ago)
- Topics: binary-patching, go
- Language: Go
- Homepage:
- Size: 162 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bin Patcher
[](https://github.com/claudemuller/bin-patcher/actions/workflows/go.yml)
A little Go application that is able to patch binaries given that the source and destination signatures are of the same length e.g. `JE` and `JNE` both being 2 bytes.
That said, ensure that a signature and patch of 5 bytes is passed in to ensure the correct locating of the instruction in question e.g. a signature of `ff08c07409` with a patch of `ff08c07509` where the last 2 bytes represent the instruction to be altered.
# Building
```bash
make build
```
# Cleaning the Project
```bash
make clean
```
# Running
## CLI
```bash
make cli in= out= sig= patch=
```
## GUI
```bash
make gui
```