CodeWarrior C++ symbol demangler
Go to file
Luke Street b86dcc3483 Add version to cwdemangle dep in bin 2024-03-13 17:34:46 -06:00
.cargo Update CI workflow 2022-11-27 16:23:05 -05:00
.github/workflows Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06:00
bin Add version to cwdemangle dep in bin 2024-03-13 17:34:46 -06:00
lib Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06:00
.gitignore Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06:00
Cargo.toml Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06: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 Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06:00
deny.toml Separate lib/bin, update README.md, release v1.0.0 2024-03-13 17:32:23 -06:00
rustfmt.toml Initial commit 2022-09-03 08:47:21 -04:00

README.md

cwdemangle Build Status Latest Version Api Rustdoc Rust Version

A CodeWarrior C++ symbol demangler.

Usage

CLI

Static binaries available from releases or install via cargo install cwdemangle-bin.

cwdemangle 'BuildLight__9CGuiLightCFv'

Pass --help to see available options.

Library

  • No dependencies
  • #![no_std] compatible (requires alloc)

Cargo.toml:

[dependencies]
cwdemangle = "0.2"

Usage:

use cwdemangle::{demangle, DemangleOptions};

let result = demangle("BuildLight__9CGuiLightCFv", &DemangleOptions::default());
assert_eq!(result, Some("CGuiLight::BuildLight() const".to_string()));

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.