Function undname::demangle

source ยท
pub fn demangle(mangled_name: &str, flags: Flags) -> Result<String>
Expand description

Demangles a Microsoft symbol stored in mangled_name.

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