luser/rustfilt

Demangle Rust symbols

Rust

305

25 commits

updated May 31, 2023

See the code

README

main Crates.io

Demangle Rust symbol names using rustc-demangle. rustfilt works similarly to c++filt, in that it accepts mangled symbol names as command line arguments, and if none are provided it accepts mangled symbols from stdin. Demangled symbols are written to stdout.

Installation

cargo install rustfilt

Usage

To demangle a file, simply run:

rustfilt -i mangled.txt -o demangled.txt

Rustfilt can also accept data from stdin, and pipe to stdout:

curl http://example.com/mangled-symbols.txt | rustfilt | less

By default, rustfilt strips the generated 'hashes' from the mangled names. If these need to be kept, simply pass the -h option to rustfilt.

luser/rustfilt

Demangle Rust symbols

Rust

305

25 commits

updated May 31, 2023

See the code

README

main Crates.io

Demangle Rust symbol names using rustc-demangle. rustfilt works similarly to c++filt, in that it accepts mangled symbol names as command line arguments, and if none are provided it accepts mangled symbols from stdin. Demangled symbols are written to stdout.

Installation

cargo install rustfilt

Usage

To demangle a file, simply run:

rustfilt -i mangled.txt -o demangled.txt

Rustfilt can also accept data from stdin, and pipe to stdout:

curl http://example.com/mangled-symbols.txt | rustfilt | less

By default, rustfilt strips the generated 'hashes' from the mangled names. If these need to be kept, simply pass the -h option to rustfilt.

Project health

Overall

2.9/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

crates.io

Latest release

0.2.1 · Sep 16, 2019

Releases this year

0

Significant stargazers

Felix S Klock II

548 followers · starred Nov 2019

waffle

487 followers · starred Apr 2023

依云

2,972 followers · starred Nov 2025

Esteban Kuber

647 followers · starred Mar 2019