#demangle #cargo-subcommand #cargo #subcommand

app cargo-demangle

Extends cargo to demangle files generated by objdump or nm

4 releases

0.1.3 Jun 17, 2022
0.1.2 Mar 24, 2017
0.1.1 Mar 24, 2017
0.1.0 Mar 23, 2017

#482 in Cargo plugins

MIT license

4KB

cargo-demangle

Crates.io Crates.io

Demangles the detected symbols using rustc-demangle.

Usage

First install:

cargo install cargo-demangle

Then:

  • Demangle from stdin
    cargo objdump --release -- -d | cargo demangle | bat -l asm
  • Demangle from a file print to stdout
    cargo demangle somefile.asm
  • Demangle from a file and write the result to the same file
    cargo demangle -i somefile.asm

Dependencies

~5MB
~80K SLoC