cppfilt-0.1.0.0: Bindings for C++ demangling routines

Stabilityexperimental
Portabilitywherever gcc lives
Safe HaskellNone
LanguageHaskell2010

System.Demangle.Pure

Description

This module provides bindings to the platform C++ ABI demangling routines (where the platform is currently limited to gcc). Any string-like type implementing CStringRepresentable can be used, though strict bytestrings are the most performant.

This module provides the pure-ish functions which hide the intrinsic IO nature of doing FFI calls behind unsafePerformIO. Demangling is referentially transparent, though, so that should be fine.

Synopsis

Documentation

demangle :: CStringRepresentable s => s -> Maybe s Source #

Try to demangle a mangled C++ name.