3 releases

0.1.2 Apr 1, 2024
0.1.1 Apr 1, 2024
0.1.0 Apr 1, 2024

#94 in FFI

MIT license

6KB

demangle

Rust

CLI tool for quickly demangling a symbol

Supports the same languages as symbolic-demangle: C++, Rust, Swift, and ObjC.

Powered by symbolic and clap.

Usage

demangle <LANGUAGE> <SYMBOL>

Use demangle --help for more.

Example

% demangle swift '_$s10Foundation15AttributeScopesO7SwiftUIE05swiftE0AcDE0D12UIAttributesVmvg'
(extension in SwiftUI):Foundation.AttributeScopes.swiftUI.getter : (extension in SwiftUI):Foundation.AttributeScopes.SwiftUIAttributes.Type

Installation

cargo install demangle

Dependencies

~3MB
~55K SLoC