Skip to main content

bindiffscript

Project description

bindiffscript

Fancy diff tool for reverse engineering binary files using a scripted approach.

Install and use

You can either install bindiffscript via pipx

# have pipx installed first
pipx install bindiffscript
bindiffscript ...

.. simply run it via uvx provided by the uv package

# have uv installed first
uvx bindiffscript ...

.. or checkout the project and run it via uv run

# have git and uv installed first
git clone https://github.com/frans-fuerst/bindiffscript.git
cd bindiffscript
uv run bindiffscript ...

With all approaches you get an entry point bindiffscript with the following syntax:

bindiffscript [<opts>..] <FILE>*

Since <FILE> can be a YAML file containing options and files to diff, you can set a shebang to bindiffscript and make it executable:

#!/usr/bin/env bindiffscript
files:
    - path: path/to/file1.txt
    - path: path/to/file2.txt

.. which is the same as running bindiffscript example.yaml.

See the examples folder for syntax and inspiration!

Wishlist

  • Readme
  • Make width configurable via width attribute or command line option
  • Configure cell format
  • Update on change
  • Bash completion
  • Show multiple files
  • Highlight special/magic content
  • Show hex/text side by side
  • Scroll
  • Show padding differently
  • Auto-generate padding
  • Padding: set to fixed position
  • Padding: insert arbitrary data
  • Padding: length from macro
  • Annotations

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bindiffscript-0.1.0.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bindiffscript-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file bindiffscript-0.1.0.tar.gz.

File metadata

  • Download URL: bindiffscript-0.1.0.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.8

File hashes

Hashes for bindiffscript-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3585be5926ab084ab7e69ec98ad361e9a7b3757fc4e16d366feb3c79b5514649
MD5 d1068a15c8785e54b64f57afe620f122
BLAKE2b-256 1caf65f3c9e3add6530c5329c88572887a8edd202761359cc0ec78d5c7c11535

See more details on using hashes here.

File details

Details for the file bindiffscript-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bindiffscript-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 139abf20af25178862b69ea0641904a6c8f31c58b571d4981390fb9452d2b3d8
MD5 63271d760f2e9649a882de81c5d2548b
BLAKE2b-256 47937494b7fe00a7ad326b35889d4421addf40a071f68c4be30f9d0edc8c9c16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page