30 lines
962 B
Markdown
30 lines
962 B
Markdown
# 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
|
|
```
|