Skip to content

Commit

Permalink
C++ Demangling Support
Browse files Browse the repository at this point in the history
- recognize symbols with _Z prefixes and demangle them automatically

Dwarf Decoding support
- On Linux decode BACKTRACE with DWARF information in binaries
  • Loading branch information
markbenvenuto committed Apr 10, 2020
1 parent d6271cb commit 1fbb212
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 36 deletions.
16 changes: 13 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mrlog"
version = "0.1.0"
version = "0.2.0"
authors = ["Mark Benvenuto <[email protected]>"]
edition = "2018"

Expand All @@ -9,10 +9,20 @@ edition = "2018"
[dependencies]
json = "0.12.4"
regex = "1.3.6"
structopt = "0.3.12"
structopt = "0.3.13"

anyhow = "1.0.27"
anyhow = "1.0.28"

colored = "1.9.3"

crossbeam-channel="0.4.2"

cpp_demangle = "0.2.14"

[target.'cfg(target_os = "linux")'.dependencies]
object={ version = "0.17.0", default-features = false, features = ["read", "compression"] }
addr2line="0.11.0"
memmap2 = "0.1.0"
gimli = { version = "0.20", default-features = false, features = ["read"] }

rental = "0.5.5"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ FLAGS:
-V, --version Prints version information
OPTIONS:
-d, --decode <decode> Decode backtraces with DWARF information from binary, split symbols not supported
-o, --output <output> Output file, stdout if not present
ARGS:
Expand Down
Loading

0 comments on commit 1fbb212

Please sign in to comment.