ft: add dump flag
This commit is contained in:
11
README.md
11
README.md
@@ -1,11 +1,11 @@
|
||||
# minix-8086-rs
|
||||
|
||||
minix-8086-rs is a Rust-based toolchain for analyzing and interpreting 16-bit 8086 binaries, made with the intention of interpreting binaries compiled for MINIX.
|
||||
minix-8086-rs is a Rust-based toolchain for analyzing and interpreting 16-bit 8086 binaries, made with the intention of interpreting binaries compiled for MINIX 1.x.
|
||||
|
||||
It includes:
|
||||
- 📦 a.out Parser: Parses legacy MINIX executables.
|
||||
- 📦 a.out Parser: Parses legacy MINIX 1.x executables.
|
||||
- 🛠 8086 Disassembler: Parses 16-bit instructions into an IR and prints them in a `objdump(1)`-style fashion.
|
||||
- 💻 8086 Interpreter: Interprets the 8086 instructions, i.e., the MINIX binary.
|
||||
- 💻 8086 Interpreter: Interprets the 8086 instructions, i.e., the MINIX 1.x binary.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -21,7 +21,7 @@ cargo run -- --help
|
||||
|
||||
Run with debug output:
|
||||
```
|
||||
RUST_LOG=debug cargo run -- interpret -p ./a.out
|
||||
RUST_LOG=debug cargo run -- interpret -p ./a.out 2>&1 | less
|
||||
```
|
||||
|
||||
CLI Options:
|
||||
@@ -38,8 +38,9 @@ Commands:
|
||||
|
||||
Options:
|
||||
-p, --path <PATH> Path of the binary
|
||||
-d, --dump Dump progress of disassembly, in case of encountering an error
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
## Status
|
||||
|
||||
Reference in New Issue
Block a user