Added tracer

This commit is contained in:
DB
2026-03-08 15:16:42 +05:30
parent 45c76ad2f5
commit 8eebd7fd0d
3 changed files with 6 additions and 6 deletions
Generated
+1 -1
View File
@@ -98,7 +98,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]]
name = "stackfinder"
name = "stacktracer"
version = "0.1.0"
dependencies = [
"clap",
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
name = "stackfinder"
name = "stacktracer"
version = "0.1.0"
edition = "2024"
description = "A rust program to print the stack trace of a given thread"
+4 -4
View File
@@ -19,7 +19,7 @@ Note that you might need to install the `x86_64-pc-windows-gnu` toolchain
To view a detailed usage guide, you can pass the `--help` flag:
```
Z:\> stackfinder.exe --help
Z:\> stacktracer.exe --help
_____ _ _ _______
/ ____| | | |__ __|
| (___ | |_ __ _ ___| | _| |_ __ __ _ ___ ___ _ __
@@ -30,7 +30,7 @@ Z:\> stackfinder.exe --help
A rust program to print the stack trace of a given thread
Usage: stackfinder.exe [OPTIONS] --pid <pid>
Usage: stacktracer.exe [OPTIONS] --pid <pid>
Options:
--pid <pid> Process ID
@@ -43,13 +43,13 @@ Options:
The only required option is the `--pid` flag. To enumerate a process without targetting a particular thread, you go like:
```
Z:\> stackfinder.exe --pid 1234
Z:\> stacktracer.exe --pid 1234
```
To enumerate a specific thread, you can specify the ThreadID using the `--tid` flag:
```
Z:\>.\stackfinder.exe --pid 3688 --tid 7336
Z:\>.\stacktracer.exe --pid 3688 --tid 7336
_____ _ _ _______
/ ____| | | |__ __|
| (___ | |_ __ _ ___| | _| |_ __ __ _ ___ ___ _ __