teambi0s / rust_demangler

Python module for demangling rust function names

Home Page:https://bi0s.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust_demangler

A package for demangling Rust symbols, written in Python.

Setup

pip install rust_demangler

Usage

from rust_demangler import demangle
print(demangle(<mangled_name>))

Example

demangle("_ZN3foo3barE") == "foo::bar"  #legacy style
demangle("_RNvC6_123foo3bar") == "123foo::bar"  #v0 style

License

This project is licensed under the MIT License

About

Python module for demangling rust function names

https://bi0s.in

License:MIT License


Languages

Language:Python 100.0%