4个版本

使用旧的Rust 2015

0.2.1 2019年9月16日
0.2.0 2017年5月9日
0.1.1 2016年10月20日
0.1.0 2016年5月14日

#798解析器实现

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 每月下载量

Apache-2.0

15KB
251 代码行

Build Status Crates.io

使用 rustc-demangle 去模糊化Rust符号名。 rustfiltc++filt 类似,接受命令行参数中的模糊化符号名,如果没有提供任何参数,则接受从stdin的模糊化符号。去模糊化后的符号写入stdout。

安装

cargo install rustfilt

用法

要解模糊化文件,只需运行

rustfilt -i mangled.txt -o demangled.txt

Rustfilt 还可以接受来自stdin的数据,并将其管道传输到stdout

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

默认情况下,rustfilt 会从模糊化名称中删除生成的 'hashes'。如果需要保留这些内容,只需将 -h 选项传递给 rustfilt。

依赖项

~2.6–4MB
~62K SLoC