Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
Go to the source code of this file.
Macros | |
#define | DB analysis->sdb_cc |
RZ_API RzList* rz_analysis_calling_conventions | ( | RzAnalysis * | analysis | ) |
Definition at line 226 of file cc.c.
References ls_foreach, ls_free(), rz_list_append(), rz_list_new(), rz_analysis_t::sdb_cc, sdb_foreach_list(), sdbkv_key(), sdbkv_value(), and strdup().
Referenced by rz_core_types_calling_conventions_print().
RZ_API const char* rz_analysis_cc_arg | ( | RzAnalysis * | analysis, |
const char * | convention, | ||
int | n | ||
) |
Definition at line 122 of file cc.c.
References rz_analysis_t::constpool, DB, n, NULL, rz_return_val_if_fail, rz_str_constpool_get(), sdb_const_get(), and sdb_fmt().
Referenced by extract_arg(), rz_analysis_extract_rarg(), rz_analysis_var_get_argnum(), rz_core_analysis_cc_print(), rz_core_arg_get(), rz_core_arg_set(), rz_core_get_func_args(), set_fcn_args_info(), and type_match().
RZ_API const char* rz_analysis_cc_default | ( | RzAnalysis * | analysis | ) |
Definition at line 200 of file cc.c.
References DB, NULL, rz_return_val_if_fail, and sdb_const_get().
Referenced by __core_analysis_fcn(), function_list_print_as_cmd(), get_reg_profile(), rz_analysis_cc_func(), rz_analysis_create_function(), rz_analysis_function_new(), rz_core_config_init(), rz_core_get_func_args(), and rz_core_print_func_args().
RZ_API void rz_analysis_cc_del | ( | RzAnalysis * | analysis, |
const char * | name | ||
) |
Definition at line 10 of file cc.c.
References DB, i, RZ_ANALYSIS_CC_MAXARG, rz_return_if_fail, rz_strbuf_fini(), rz_strbuf_initf(), rz_strbuf_setf(), sb, and sdb_unset().
Referenced by rz_type_cc_del_handler().
RZ_API const char* rz_analysis_cc_error | ( | RzAnalysis * | analysis, |
const char * | convention | ||
) |
Definition at line 155 of file cc.c.
References rz_analysis_t::constpool, DB, error(), NULL, rz_return_val_if_fail, rz_str_constpool_get(), sdb_const_get(), and sdb_fmt().
Referenced by rz_analysis_cc_get(), rz_analysis_extract_rarg(), and rz_core_analysis_cc_print().
RZ_API bool rz_analysis_cc_exist | ( | RzAnalysis * | analysis, |
const char * | convention | ||
) |
Definition at line 116 of file cc.c.
References DB, rz_return_val_if_fail, sdb_const_get(), and x.
Referenced by propagate_types_among_used_variables(), rz_analysis_cc_set_error(), rz_analysis_cc_set_self(), rz_analysis_function_cc_set_get_handler(), and rz_core_bin_apply_config().
RZ_API const char* rz_analysis_cc_func | ( | RzAnalysis * | analysis, |
const char * | func_name | ||
) |
Definition at line 220 of file cc.c.
References NULL, rz_analysis_cc_default(), rz_return_val_if_fail, rz_type_func_cc(), and rz_analysis_t::typedb.
Referenced by propagate_types_among_used_variables(), rz_analysis_extract_rarg(), rz_core_get_func_args(), and set_retval().
RZ_API char* rz_analysis_cc_get | ( | RzAnalysis * | analysis, |
const char * | name | ||
) |
Definition at line 75 of file cc.c.
References DB, error(), i, k, NULL, rz_analysis_cc_error(), RZ_ANALYSIS_CC_MAXARG, rz_analysis_cc_self(), RZ_LOG_ERROR, rz_return_val_if_fail, rz_str_cmp(), rz_strbuf_append(), rz_strbuf_appendf(), rz_strbuf_drain(), rz_strbuf_new(), sb, sdb_const_get(), and sdb_fmt().
Referenced by rz_core_types_calling_conventions_print(), and types_cc_print().
RZ_API int rz_analysis_cc_max_arg | ( | RzAnalysis * | analysis, |
const char * | cc | ||
) |
Definition at line 171 of file cc.c.
References DB, free(), i, NULL, RZ_ANALYSIS_CC_MAXARG, rz_return_val_if_fail, sdb_const_get(), sdb_fmt(), and strdup().
Referenced by analysis_block_cb(), extract_arg(), rz_analysis_extract_rarg(), rz_analysis_var_get_argnum(), rz_core_analysis_cc_print(), and type_match().
RZ_API const char* rz_analysis_cc_ret | ( | RzAnalysis * | analysis, |
const char * | convention | ||
) |
Definition at line 194 of file cc.c.
References DB, NULL, rz_return_val_if_fail, sdb_const_get(), and sdb_fmt().
Referenced by propagate_types_among_used_variables(), rz_core_analysis_cc_print(), and set_retval().
RZ_API const char* rz_analysis_cc_self | ( | RzAnalysis * | analysis, |
const char * | convention | ||
) |
Definition at line 138 of file cc.c.
References rz_analysis_t::constpool, DB, NULL, rz_return_val_if_fail, rz_str_constpool_get(), sdb_const_get(), and sdb_fmt().
Referenced by rz_analysis_cc_get(), rz_analysis_extract_rarg(), and rz_core_analysis_cc_print().
RZ_API bool rz_analysis_cc_set | ( | RzAnalysis * | analysis, |
const char * | expr | ||
) |
Definition at line 25 of file cc.c.
References arg(), args, DB, e, test_evm::end, expr(), free(), n, p, rz_list_free(), rz_return_val_if_fail, rz_str_split_list(), rz_str_trim(), sdb_fmt(), sdb_set(), and strdup().
Referenced by rz_core_analysis_cc_init(), and types_cc_print().
RZ_API void rz_analysis_cc_set_error | ( | RzAnalysis * | analysis, |
const char * | convention, | ||
const char * | error | ||
) |
Definition at line 162 of file cc.c.
References error(), rz_analysis_cc_exist(), rz_strbuf_fini(), rz_strbuf_initf(), sb, rz_analysis_t::sdb_cc, and sdb_set().
RZ_API void rz_analysis_cc_set_self | ( | RzAnalysis * | analysis, |
const char * | convention, | ||
const char * | self | ||
) |
Definition at line 145 of file cc.c.
References rz_analysis_cc_exist(), rz_return_if_fail, rz_strbuf_fini(), rz_strbuf_initf(), sb, rz_analysis_t::sdb_cc, and sdb_set().
RZ_API void rz_analysis_set_cc_default | ( | RzAnalysis * | analysis, |
const char * | cc | ||
) |
Definition at line 205 of file cc.c.
References DB, rz_return_if_fail, and sdb_set().
Referenced by cb_analysiscc().
RZ_API void rz_analysis_set_syscc_default | ( | RzAnalysis * | analysis, |
const char * | cc | ||
) |
Definition at line 215 of file cc.c.
References DB, rz_return_if_fail, and sdb_set().
Referenced by cb_analysissyscc().
RZ_API const char* rz_analysis_syscc_default | ( | RzAnalysis * | analysis | ) |
Definition at line 210 of file cc.c.
References DB, NULL, rz_return_val_if_fail, and sdb_const_get().
Referenced by ds_print_esil_analysis(), rz_core_arg_get(), rz_core_arg_set(), rz_core_config_init(), and rz_core_syscall_as_string().