3 releases

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

#90 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

~2.5MB
~54K SLoC