Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | demangle_operator_info |
struct | demangle_builtin_type_info |
struct | d_info |
Macros | |
#define | d_peek_char(di) (*((di)->n)) |
#define | d_peek_next_char(di) ((di)->n[1]) |
#define | d_advance(di, i) ((di)->n += (i)) |
#define | d_check_char(di, c) (d_peek_char(di) == c ? ((di)->n++, 1) : 0) |
#define | d_next_char(di) (d_peek_char(di) == '\0' ? '\0' : *((di)->n++)) |
#define | d_str(di) ((di)->n) |
#define | CP_STATIC_IF_GLIBCPP_V3 extern |
#define | D_BUILTIN_TYPE_COUNT (33) |
Enumerations | |
enum | d_builtin_type_print { D_PRINT_DEFAULT , D_PRINT_INT , D_PRINT_UNSIGNED , D_PRINT_LONG , D_PRINT_UNSIGNED_LONG , D_PRINT_LONG_LONG , D_PRINT_UNSIGNED_LONG_LONG , D_PRINT_BOOL , D_PRINT_FLOAT , D_PRINT_VOID } |
Functions | |
CP_STATIC_IF_GLIBCPP_V3 struct demangle_component * | cplus_demangle_mangled_name (struct d_info *, int) |
CP_STATIC_IF_GLIBCPP_V3 struct demangle_component * | cplus_demangle_type (struct d_info *) |
void | cplus_demangle_init_info (const char *, int, size_t, struct d_info *) |
Variables | |
const struct demangle_operator_info | cplus_demangle_operators [] |
CP_STATIC_IF_GLIBCPP_V3 const struct demangle_builtin_type_info | cplus_demangle_builtin_types [D_BUILTIN_TYPE_COUNT] |
#define CP_STATIC_IF_GLIBCPP_V3 extern |
Definition at line 165 of file cp-demangle.h.
Definition at line 134 of file cp-demangle.h.
#define D_BUILTIN_TYPE_COUNT (33) |
Definition at line 172 of file cp-demangle.h.
#define d_check_char | ( | di, | |
c | |||
) | (d_peek_char(di) == c ? ((di)->n++, 1) : 0) |
Definition at line 136 of file cp-demangle.h.
#define d_next_char | ( | di | ) | (d_peek_char(di) == '\0' ? '\0' : *((di)->n++)) |
Definition at line 137 of file cp-demangle.h.
#define d_peek_char | ( | di | ) | (*((di)->n)) |
Definition at line 131 of file cp-demangle.h.
#define d_peek_next_char | ( | di | ) | ((di)->n[1]) |
Definition at line 133 of file cp-demangle.h.
#define d_str | ( | di | ) | ((di)->n) |
Definition at line 138 of file cp-demangle.h.
enum d_builtin_type_print |
Enumerator | |
---|---|
D_PRINT_DEFAULT | |
D_PRINT_INT | |
D_PRINT_UNSIGNED | |
D_PRINT_LONG | |
D_PRINT_UNSIGNED_LONG | |
D_PRINT_LONG_LONG | |
D_PRINT_UNSIGNED_LONG_LONG | |
D_PRINT_BOOL | |
D_PRINT_FLOAT | |
D_PRINT_VOID |
Definition at line 52 of file cp-demangle.h.
Definition at line 5681 of file cp-demangle.c.
References d_info::expansion, d_info::is_conversion, d_info::is_expression, d_info::last_name, len, d_info::n, d_info::next_comp, d_info::next_sub, NULL, d_info::num_comps, d_info::num_subs, options, d_info::options, d_info::s, and d_info::send.
Referenced by d_demangle_callback(), and is_ctor_or_dtor().
CP_STATIC_IF_GLIBCPP_V3 struct demangle_component* cplus_demangle_mangled_name | ( | struct d_info * | di, |
int | top_level | ||
) |
Definition at line 1170 of file cp-demangle.c.
References d_check_char, d_clone_suffix(), d_encoding(), d_peek_char, d_peek_next_char, DMGL_PARAMS, IS_DIGIT, IS_LOWER, NULL, d_info::options, and p.
Referenced by d_demangle_callback(), d_expr_primary(), and is_ctor_or_dtor().
CP_STATIC_IF_GLIBCPP_V3 struct demangle_component* cplus_demangle_type | ( | struct d_info * | di | ) |
Definition at line 2212 of file cp-demangle.c.
References args, cplus_demangle_builtin_types, d_add_substitution(), d_advance, d_array_type(), d_backtrack(), d_checkpoint(), d_class_enum_type(), d_cv_qualifiers(), d_expression(), d_function_type(), d_left, d_make_builtin_type(), d_make_comp(), d_make_empty(), d_make_name(), d_next_char, d_number(), d_peek_char, d_peek_next_char, d_pointer_to_member_type(), d_source_name(), d_substitution(), d_template_args(), d_template_param(), d_vector_type(), DEMANGLE_COMPONENT_COMPLEX, DEMANGLE_COMPONENT_DECLTYPE, DEMANGLE_COMPONENT_FIXED_TYPE, DEMANGLE_COMPONENT_IMAGINARY, DEMANGLE_COMPONENT_PACK_EXPANSION, DEMANGLE_COMPONENT_POINTER, DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_REFERENCE_THIS, DEMANGLE_COMPONENT_RVALUE_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS, DEMANGLE_COMPONENT_SUB_STD, DEMANGLE_COMPONENT_TEMPLATE, DEMANGLE_COMPONENT_VENDOR_TYPE, DEMANGLE_COMPONENT_VENDOR_TYPE_QUAL, d_info::expansion, fn, d_info::is_conversion, IS_DIGIT, IS_UPPER, next_is_type_qual(), NULL, demangle_component::s_builtin, demangle_component::s_fixed, demangle_component::type, and demangle_component::u.
Referenced by d_array_type(), d_bare_function_type(), d_ctor_dtor_name(), d_demangle_callback(), d_expr_primary(), d_expression_1(), d_operator_name(), d_parmlist(), d_pointer_to_member_type(), d_prefix(), d_special_name(), d_template_arg(), and d_vector_type().
CP_STATIC_IF_GLIBCPP_V3 const struct demangle_builtin_type_info cplus_demangle_builtin_types[D_BUILTIN_TYPE_COUNT] |
Definition at line 174 of file cp-demangle.h.
|
extern |
Definition at line 1665 of file cp-demangle.c.
Referenced by d_operator_name().