CodeWarrior C++ symbol demangler
Go to file
Luke Street 087c6ce1e8 Initial commit 2022-09-03 08:47:21 -04:00
.github/workflows Initial commit 2022-09-03 08:47:21 -04:00
src Initial commit 2022-09-03 08:47:21 -04:00
.gitignore Initial commit 2022-09-03 08:47:21 -04:00
Cargo.toml Initial commit 2022-09-03 08:47:21 -04:00
LICENSE-APACHE Initial commit 2022-09-03 08:47:21 -04:00
LICENSE-MIT Initial commit 2022-09-03 08:47:21 -04:00
README.md Initial commit 2022-09-03 08:47:21 -04:00
deny.toml Initial commit 2022-09-03 08:47:21 -04:00
rustfmt.toml Initial commit 2022-09-03 08:47:21 -04:00

README.md

cwdemangle Build Status

CodeWarrior C++ symbol demangler.

Usage

CLI:

cwdemangle 'BuildLight__9CGuiLightCFv'

Library

use cwdemangle::demangle;

let symbol = "BuildLight__9CGuiLightCFv";
if let Some(result) = demangle(symbol) {
    println!("{}", result);
    Ok(())
} else {
    Err("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.