Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | dem_return_val_if_fail(expr, val) |
#define | dem_return_if_fail(expr) |
#define dem_return_if_fail | ( | expr | ) |
Definition at line 16 of file demangler_util.c.
Definition at line 8 of file demangler_util.c.
DemListIter* dem_list_append | ( | DemList * | list, |
void * | data | ||
) |
Definition at line 229 of file demangler_util.c.
References dem_list_iter_t::data, dem_return_val_if_fail, list(), dem_list_iter_t::n, NULL, dem_list_iter_t::p, and RZ_NEW.
Referenced by get_namespace_and_name(), get_operator_code(), get_template(), and parse_function_args().
void dem_list_delete | ( | DemList * | list, |
DemListIter * | iter | ||
) |
Definition at line 276 of file demangler_util.c.
References dem_list_split_iter(), dem_return_if_fail, free(), list(), and NULL.
Referenced by dem_list_purge().
void dem_list_free | ( | DemList * | list | ) |
Definition at line 299 of file demangler_util.c.
References dem_list_purge(), free(), and list().
Referenced by get_namespace_and_name(), get_operator_code(), get_template(), and microsoft_demangle().
Definition at line 306 of file demangler_util.c.
References dem_list_iter_t::data, dem_return_val_if_fail, i, list(), n, dem_list_iter_t::n, and NULL.
Referenced by get_namespace_and_name(), and parse_function_args().
Definition at line 253 of file demangler_util.c.
References dem_return_val_if_fail, and list().
Referenced by get_namespace_and_name().
DemList* dem_list_newf | ( | DemListFree | f | ) |
Definition at line 221 of file demangler_util.c.
References f, dem_list_t::free, and RZ_NEW0.
Referenced by get_namespace_and_name(), get_template(), and microsoft_demangle().
void dem_list_purge | ( | DemList * | list | ) |
Definition at line 286 of file demangler_util.c.
References dem_list_delete(), dem_return_if_fail, list(), dem_list_iter_t::n, and NULL.
Referenced by dem_list_free().
void dem_list_split_iter | ( | DemList * | list, |
DemListIter * | iter | ||
) |
Definition at line 258 of file demangler_util.c.
References dem_return_if_fail, and list().
Referenced by dem_list_delete().
char* dem_str_append | ( | char * | ptr, |
const char * | string | ||
) |
Definition at line 112 of file demangler_util.c.
References free(), memcpy(), NULL, realloc(), RZ_STR_ISEMPTY, and strdup().
Referenced by get_operator_code(), get_ptr_modifier(), and parse_microsoft_mangled_name().
Definition at line 78 of file demangler_util.c.
References len, malloc(), NULL, and out.
Referenced by get_template().
char* dem_str_newf | ( | const char * | fmt, |
... | |||
) |
Definition at line 91 of file demangler_util.c.
References calloc(), dem_return_val_if_fail, NULL, p, strdup(), and vsnprintf.
Referenced by get_namespace_and_name(), get_num(), get_operator_code(), get_template_params(), libdemangle_handler_objc(), parse_data_type(), parse_microsoft_mangled_name(), and parse_microsoft_rtti_mangled_name().
Definition at line 32 of file demangler_util.c.
References dem_return_val_if_fail, dem_str_replace_char(), g, i, int, key, memcpy(), newstr(), NULL, off, p, realloc(), RZ_FREE, cmd_descs_generate::str, and val.
Referenced by libdemangle_handler_java(), and parse_function().
void dem_str_replace_char | ( | char * | string, |
size_t | size, | ||
char | ch, | ||
char | rp | ||
) |
Definition at line 24 of file demangler_util.c.
Referenced by dem_str_replace(), and dem_string_replace_char().
Definition at line 167 of file demangler_util.c.
References dem_return_val_if_fail, and dem_string_append_n().
Referenced by demangle_method(), demangle_type(), and get_operator_code().
Definition at line 173 of file demangler_util.c.
References DemString::buf, dem_return_val_if_fail, dem_string_realloc_no_len_update(), DemString::len, and memcpy().
Referenced by dem_string_append(), demangle_type(), and get_operator_code().
Definition at line 187 of file demangler_util.c.
References DemString::buf, dem_return_val_if_fail, dem_string_realloc_no_len_update(), DemString::len, NULL, and vsnprintf.
Referenced by demangle_class_object(), demangle_object_with_type(), and get_operator_code().
char* dem_string_drain | ( | DemString * | ds | ) |
Definition at line 160 of file demangler_util.c.
References DemString::buf, dem_return_val_if_fail, free(), and NULL.
Referenced by demangle_any(), demangle_class_object(), demangle_method(), demangle_object_with_type(), and get_operator_code().
void dem_string_free | ( | DemString * | ds | ) |
Definition at line 131 of file demangler_util.c.
References DemString::buf, and free().
Referenced by demangle_any(), demangle_class_object(), demangle_method(), demangle_object_with_type(), and get_operator_code().
DemString* dem_string_new | ( | ) |
Definition at line 139 of file demangler_util.c.
References RZ_NEW0.
Referenced by demangle_any(), demangle_class_object(), demangle_method(), demangle_object_with_type(), and get_operator_code().
Definition at line 143 of file demangler_util.c.
References DemString::buf, DemString::len, malloc(), NULL, realloc(), and autogen_x86imm::tmp.
Referenced by dem_string_append_n(), and dem_string_appendf().
void dem_string_replace_char | ( | DemString * | ds, |
char | ch, | ||
char | rp | ||
) |
Definition at line 214 of file demangler_util.c.
References DemString::buf, dem_str_replace_char(), DemString::len, and rp.
Referenced by demangle_any(), demangle_class_object(), demangle_method(), and demangle_object_with_type().