simple-frame-rs 0.2.0

Parse SFrame (Simple Frame) stack trace information
Documentation

simple-frame-rs

Crates.io Version docs.rs

Rust crate to parse SFrame stack trace format.

Example

$ echo "int main() { return 0; }" > test.c
$ gcc -Wa,--gsframe test.c -o test
$ cargo run --example dump_sframe test
# output is similar to: objdump --sframe test
$ cargo run --example dump_backtrace [PID]
# dump backtrace of process of pid [PID],
# require ptrace attach permission

License

Licensed under MIT.