add extra stuff

This commit is contained in:
xenia 2024-11-22 02:33:16 -05:00
parent 833fbf63f9
commit f7efe0f420
3 changed files with 36 additions and 0 deletions

View File

@ -1,7 +1,13 @@
[package] [package]
name = "zbasefind" name = "zbasefind"
version = "0.1.0" version = "0.1.0"
authors = ["xenia <xenia@awoo.systems>"]
description = "Firmware base address guessing tool"
repository = "https://git.lain.faith/haskal/zbasefind.git"
readme = "README.md"
license-file = "LICENSE"
edition = "2021" edition = "2021"
publish = false
[dependencies] [dependencies]
clap = { version = "4.5.21", features = ["derive"] } clap = { version = "4.5.21", features = ["derive"] }

1
LICENSE Normal file
View File

@ -0,0 +1 @@
all rights reserved. you gotta pirate this :)

29
README.md Normal file
View File

@ -0,0 +1,29 @@
# zbasefind
Command line tool to guess the base address of a raw firmware binary (zoomer
edition). Only 32 bit is supported at the moment.
## Why did you reimplement this?
The existing package was fucking busted (more specifically, it failed to
execute correctly in 2024 due to not having a Cargo.lock checked in) and i
couldn't figure out why. So i just rewrote the entire thing from first
principles
## Usage
```
Usage: zbasefind [OPTIONS] <FILE>
Arguments:
<FILE> File to scan
Options:
-b, --big-endian Assume target is big endian
-p, --page-size <PAGE_SIZE> Target memory page size [default: 4096]
-m, --min-str-len <MIN_STR_LEN> Minimum string length [default: 10]
-n, --max-matches <MAX_MATCHES> Maximum matches to display [default: 10]
-t, --threads <THREADS> Number of threads to use [default: <#CPUs>]
-h, --help Print help
-V, --version Print version
```