Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cpp-demangle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpp-demangle

A package for demangling C++ linker symbols

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

py-cpp-demangle: Demangles C++ linker symbols

.. image:: https://github.com/benfred/py-cpp-demangle/workflows/Build/badge.svg?branch=master :target: https://github.com/benfred/py-cpp-demangle/actions?query=branch%3Amaster

A package for demangling C++ linker symbol strings

This package provides python bindings for the rust crate cpp_demangle <http://github.com/gimli-rs/cpp_demangle>_ by building a native Python extension using PyO3 <https://github.com/pyO3/pyO3>_.

This is mainly an experiment in creating python extensions in Rust. A blog post about this is here. <https://www.benfrederickson.com/writing-python-extensions-in-rust-using-pyo3/>_

Usage

To install

.. code-block:: python

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.

.. code-block:: python

from cpp_demangle import demangle

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

Released under the MIT License

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc