Debian Codegraph @

/

debian rust-msvc-demangler 0.11.0-1debian librust-msvc-demangler-dev debian librust-msvc-demangler+default-dev debian librust-msvc-demangler-0-dev debian librust-msvc-demangler-0+default-dev debian librust-msvc-demangler-0.11-dev debian librust-msvc-demangler-0.11+default-dev debian librust-msvc-demangler-0.11.0-dev debian librust-msvc-demangler-0.11.0+default-dev cargo msvc-demangler 0.11.0 debianjsonmakemakefilemarkdownrustrust-c-abishelltomlyaml 22 files · 763 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-bitflags (librust-bitflags-2-dev)
  • rust-itoa (librust-itoa-1+default-dev)
  • cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)

msvc-demangler

msvc-demangler is a crate for Rust that can demangle C++ symbols which use the MSVC mangling scheme. These are emitted by the Microsoft C++ compiler for Windows as well as some others.

Example

use msvc_demangler;
let flags = msvc_demangler::DemangleFlags::llvm();
let result = msvc_demangler::demangle("??_0klass@@QEAAHH@Z", flags).unwrap();
println!("{}", result);

Behavior

It's functionality is similar to undname on Windows and the underlying UnDecorateSymbolName function. Since Microsoft does not document the mangling scheme this is likely not to be entirely accurate. When unclear the implementation tries to follow what LLVM does.

License

This msvc-demangler is dual licensed under the MIT and the University of Illinois Open Source Licenses.

License: MIT/NCSA

dir .github/
dir debian/
dir examples/
dir src/
dir tests/
file .cargo_vcs_info.json
file .gitignore
file .travis.yml
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE.LLVM
file LICENSE.MIT
file Makefile
file README.md