stackdump-cli

Crates.iostackdump-cli
lib.rsstackdump-cli
version0.1.8
sourcesrc
created_at2022-02-24 16:04:23.450024
updated_at2023-08-21 14:00:02.231736
descriptionCrate for capturing stack dumps
homepagehttps://github.com/tweedegolf/stackdump
repositoryhttps://github.com/tweedegolf/stackdump
max_upload_size
id538609
size61,636
Dion Dokter (diondokter)

documentation

README

Stackdump-cli

crates.io Documentation

Command line program for tracing dumps.

Also see the main repo readme.

This is made mostly for convenience and as an example for using the trace crate. If you need to trace inside your own software, please use the library and not this CLI.

The program can be installed with:

cargo install stackdump-cli

Then you can use the help to see your options:

stackdump-cli --help

The cli only supports dumps in the format of the byte iterator. You can have multiple memory regions and register datas in one file.

Example

To trace a cortex-m dump, use the following command:

# Generic
stackdump-cli cortex-m <ELF_FILE> [DUMP_FILES..]

# Specific
stackdump-cli cortex-m .\examples\data\nrf52840 .\examples\data\nrf52840.dump
Commit count: 143

cargo fmt