4 releases

Uses old Rust 2015

0.2.1 Sep 16, 2019
0.2.0 May 9, 2017
0.1.1 Oct 20, 2016
0.1.0 May 14, 2016

#798 in Parser implementations

Download history 4039/week @ 2023-12-14 2612/week @ 2023-12-21 2592/week @ 2023-12-28 4852/week @ 2024-01-04 4393/week @ 2024-01-11 5109/week @ 2024-01-18 4849/week @ 2024-01-25 4335/week @ 2024-02-01 3834/week @ 2024-02-08 4552/week @ 2024-02-15 4060/week @ 2024-02-22 4839/week @ 2024-02-29 4974/week @ 2024-03-07 4227/week @ 2024-03-14 4310/week @ 2024-03-21 2153/week @ 2024-03-28

16,707 downloads per month

Apache-2.0

15KB
251 lines

Build Status 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.

Dependencies

~2.6–4MB
~62K SLoC