An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Bin Patcher

# Bin Patcher
[![Go](https://github.com/claudemuller/bin-patcher/actions/workflows/go.yml/badge.svg)](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
```