binaryninja.demangle.demangle_gnu3

demangle_gnu3(arch, mangled_name, options=None)[source]

demangle_gnu3 demangles a mangled name to a Type object.

Parameters
  • arch (Architecture) – Architecture for the symbol. Required for pointer and integer sizes.

  • mangled_name (str) – a mangled GNU3 name

  • options (Tuple[bool, BinaryView, None]) – (optional) Whether to simplify demangled names : None falls back to user settings, a BinaryView uses that BinaryView’s settings, or a boolean to set it directally

Returns

returns tuple of (Type, demangled_name) or (None, mangled_name) on error

Return type

Tuple