Skip to content
A lightweight command-line ELF binary patch tool written in Go
Go Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/binch
pkg
.gitignore
Makefile
README.md
build-capstone.sh
build-keystone.sh
go.mod
go.sum
install.sh

README.md

binch

A lightweight ELF binary patch tool.

render1567170049118

Installation

Using Install script

$ curl https://raw.githubusercontent.com/tunz/binch-go/master/install.sh | bash

or, you can download a binary in releases page.

Usage

$ ./binch [binary name]

Shortcuts

Main View

g: Go to a specific address. (if not exists, jump to nearest address)
d: Remove a current line. (Fill with nop)
q: Quit.
s: Save a modified binary to a file.
enter: Modify a current line.
j/k: Move to next/previous instruction.
ctrl+f/b: Move to next/previous page.

Patch View

tab: Switch focusing opcode/instruction.
enter: Apply the patch.
You can’t perform that action at this time.