Expand description
Demangling helpers for Rust and C++ symbols
Functions§
- demangle_
by_ lang - Demangle a symbol string using language hint when available. Returns None if demangling fails or is not applicable.
- demangled_
leaf - Return a friendly leaf name from a demangled full name. For Rust, strips the trailing ::hxxxxxxxx hash if present, then returns the last path segment.
- is_
itanium_ cpp_ mangled - Heuristic: Itanium C++ mangling starts with “_Z”.
- is_
rust_ mangled - Heuristic: Rust v0 mangling starts with “_R”.