add extra stuff
This commit is contained in:
parent
833fbf63f9
commit
f7efe0f420
|
@ -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"] }
|
||||||
|
|
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue