binaryninja.demangle.simplify_name_to_string

simplify_name_to_string(input_name)[source]

simplify_name_to_string simplifies a templated C++ name with default arguments and returns a string

Parameters

input_name (Union[str, QualifiedName]) – String or qualified name to be simplified

Returns

simplified name (or original name if simplifier fails/cannot simplify)

Return type

str

Example
>>> bdemangle.simplify_name_to_string("std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >")
'std::string'
>>>