Skip to main content

A package for demangling C++ linker symbols

Project description

https://travis-ci.org/benfred/py-cpp-demangle.svg?branch=master https://ci.appveyor.com/api/projects/status/bh3usbvstog4x42x/branch/master?svg=true

A package for demangling C++ linker symbol strings

This package provides python bindings for the rust crate cpp_demangle by building a native Python extension using PyO3.

This is mainly an experiment in creating python extensions in Rust. A blog post about this is here.

Usage

To install

pip install cpp-demangle

Building from source requires the nightly version of the rust compiler.

This module exposes a single function that transforms C++ linker symbols to a human readable representation.

from cpp_demangle import demangle

print(demangle('_ZN7mangled3fooEd'))
# prints 'mangled::foo(double)'

Released under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distributions

cpp_demangle-0.1.0-cp37-cp37m-win_amd64.whl (192.9 kB view hashes)

Uploaded cp37

cpp_demangle-0.1.0-cp37-cp37m-win32.whl (179.3 kB view hashes)

Uploaded cp37

cpp_demangle-0.1.0-cp36-cp36m-win_amd64.whl (192.9 kB view hashes)

Uploaded cp36

cpp_demangle-0.1.0-cp36-cp36m-win32.whl (179.3 kB view hashes)

Uploaded cp36

cpp_demangle-0.1.0-cp35-cp35m-win_amd64.whl (193.1 kB view hashes)

Uploaded cp35

cpp_demangle-0.1.0-cp35-cp35m-win32.whl (179.3 kB view hashes)

Uploaded cp35

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page