#cli #c #symbols #symbol #let

bin+lib cwdemangle

CodeWarrior C++ symbol demangler

5 releases

0.1.5 Feb 2, 2023
0.1.4 Jan 18, 2023
0.1.3 Nov 5, 2022
0.1.2 Sep 9, 2022
0.1.1 Sep 8, 2022

#1341 in Command line utilities

29 downloads per month

MIT/Apache

44KB
742 lines

cwdemangle Build Status Latest Version Api Rustdoc Rust Version

A CodeWarrior C++ symbol demangler.

Usage

CLI:

cwdemangle 'BuildLight__9CGuiLightCFv'

Library:

use cwdemangle::{demangle, DemangleOptions};

if let Some(result) = demangle("BuildLight__9CGuiLightCFv", &DemangleOptions::default()) {
    println!("{}", result);
} else {
    eprintln!("Couldn't demangle symbol (not a C++ symbol?)");
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.7–1.1MB
~27K SLoC