undname

Crates.ioundname
lib.rsundname
version2.1.2
created_at2024-05-31 07:41:42.521941+00
updated_at2024-10-07 01:38:33.780131+00
descriptionA Rust library for demangling Microsoft symbols
homepagehttps://github.com/Ryan-rsm-McKenzie/undname-rs
repositoryhttps://github.com/Ryan-rsm-McKenzie/undname-rs
max_upload_size
id1257760
size466,732
Ryan McKenzie (Ryan-rsm-McKenzie)

documentation

https://ryan-rsm-mckenzie.github.io/undname-rs/undname/index.html

README

Overview

undname is a purely Rust-based implementation of a Microsoft symbol demangler. It functions as an alternative to msvc-demangler and Microsoft's own UnDecorateSymbolName. It is closely based off of LLVM's own llvm-undname and boasts competitive performance and better accuracy when compared to existing implementations.

The latest development docs are available at: https://ryan-rsm-mckenzie.github.io/undname-rs/undname/index.html

The stable release docs are available at: https://docs.rs/undname/latest/undname/

Changelogs are available at: https://github.com/Ryan-rsm-McKenzie/undname-rs/releases

Example

use undname::Flags;
let result = undname::demangle("?world@@YA?AUhello@@XZ", Flags::default()).unwrap();
assert_eq!(result, "struct hello __cdecl world(void)");
Commit count: 93

cargo fmt