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.

Files for cpp-demangle, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size cpp_demangle-0.0.3-cp27-cp27m-win32.whl (181.4 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cpp_demangle-0.0.3-cp35-cp35m-win32.whl (182.0 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cpp_demangle-0.0.3-cp35-cp35m-win_amd64.whl (190.7 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cpp_demangle-0.0.3-cp36-cp36m-win32.whl (181.9 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size cpp_demangle-0.0.3-cp36-cp36m-win_amd64.whl (190.6 kB) File type Wheel Python version cp36 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page