115 stable releases (11 major)

new 12.10.0 Jul 24, 2024
12.8.0 Dec 1, 2023
12.7.1 Nov 29, 2023
12.3.0 Jul 19, 2023
1.1.5 Dec 2, 2017

#26 in Debugging

Download history 109842/week @ 2024-04-05 122637/week @ 2024-04-12 120189/week @ 2024-04-19 100871/week @ 2024-04-26 92903/week @ 2024-05-03 110863/week @ 2024-05-10 114229/week @ 2024-05-17 118212/week @ 2024-05-24 112171/week @ 2024-05-31 111980/week @ 2024-06-07 111580/week @ 2024-06-14 117849/week @ 2024-06-21 105821/week @ 2024-06-28 114673/week @ 2024-07-05 120367/week @ 2024-07-12 106044/week @ 2024-07-19

468,448 downloads per month
Used in 205 crates (12 directly)

MIT license

605KB
15K SLoC

C++ 13K SLoC // 0.0% comments Rust 1.5K SLoC // 0.0% comments Python 96 SLoC // 0.0% comments

Build Status

symbolic-demangle

Demangling support for various languages and compilers.

Currently supported languages are:

  • C++ (GCC-style compilers and MSVC)
  • Rust (both legacy and v0)
  • Swift (up to Swift 5.2)
  • ObjC (only symbol detection)

As the demangling schemes for the languages are different, the supported demangling features are inconsistent. For example, argument types were not encoded in legacy Rust mangling and thus not available in demangled names.

This module is part of the symbolic crate and can be enabled via the demangle feature.

Examples

use symbolic::common::{Language, Name};
use symbolic::demangle::{Demangle, DemangleOptions};

let name = Name::new("__ZN3std2io4Read11read_to_end17hb85a0f6802e14499E");
assert_eq!(name.detect_language(), Language::Rust);
assert_eq!(name.try_demangle(DemangleOptions::default()), "std::io::Read::read_to_end");

License: MIT

Dependencies

~360–600KB
~11K SLoC