Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
Go to the source code of this file.
Functions | |
RZ_API RzAnalysisValue * | rz_analysis_value_new (void) |
RZ_API RzAnalysisValue * | rz_analysis_value_new_from_string (const char *str) |
RZ_API RzAnalysisValue * | rz_analysis_value_copy (RzAnalysisValue *ov) |
RZ_API void | rz_analysis_value_free (RzAnalysisValue *value) |
RZ_API ut64 | rz_analysis_value_to_ut64 (RzAnalysis *analysis, RzAnalysisValue *val) |
RZ_API int | rz_analysis_value_set_ut64 (RzAnalysis *analysis, RzAnalysisValue *val, ut64 num) |
RZ_API char * | rz_analysis_value_to_string (RzAnalysisValue *value) |
RZ_API RzAnalysisValue* rz_analysis_value_copy | ( | RzAnalysisValue * | ov | ) |
Definition at line 15 of file value.c.
References memcpy(), NULL, RZ_NEW0, rz_return_val_if_fail, and v.
Referenced by rz_analysis_op_copy().
RZ_API void rz_analysis_value_free | ( | RzAnalysisValue * | value | ) |
Definition at line 29 of file value.c.
References free(), ut64(), UT64_MAX, and value.
Referenced by rz_analysis_cond_fini(), rz_analysis_op_copy(), rz_analysis_op_fini(), and set_access_info().
RZ_API RzAnalysisValue* rz_analysis_value_new | ( | void | ) |
Definition at line 6 of file value.c.
References RZ_NEW0.
Referenced by analysis_fill_ai_rg(), analysis_fill_im(), analysis_pcrel_disp_mov(), analysis_regrel_jump(), anop_esil(), create_src_dst(), gb_analysis_add_hl(), gb_analysis_add_sp(), gb_analysis_and_bit(), gb_analysis_and_res(), gb_analysis_cb_rl(), gb_analysis_cb_rlc(), gb_analysis_cb_rr(), gb_analysis_cb_rrc(), gb_analysis_cb_sla(), gb_analysis_cb_sra(), gb_analysis_cb_srl(), gb_analysis_cb_swap(), gb_analysis_cond(), gb_analysis_id(), gb_analysis_jmp_hl(), gb_analysis_load(), gb_analysis_load_hl(), gb_analysis_mov_hl_sp(), gb_analysis_mov_ime(), gb_analysis_mov_imm(), gb_analysis_mov_reg(), gb_analysis_mov_scf(), gb_analysis_mov_sp_hl(), gb_analysis_or_set(), gb_analysis_pp(), gb_analysis_store(), gb_analysis_store_hl(), gb_analysis_xoaasc(), gb_analysis_xoaasc_imm(), gb_analysis_xor_ccf(), gb_analysis_xor_cpl(), mips_op(), movw_pcdisp_reg(), op_fillval(), rsp_op(), set_access_info(), value_fill_addr_pc_disp(), value_fill_addr_reg_disp(), and value_fill_addr_reg_regdelta().
RZ_API RzAnalysisValue* rz_analysis_value_new_from_string | ( | const char * | str | ) |
RZ_API int rz_analysis_value_set_ut64 | ( | RzAnalysis * | analysis, |
RzAnalysisValue * | val, | ||
ut64 | num | ||
) |
Definition at line 65 of file value.c.
References addr, rz_io_bind_t::io, rz_analysis_t::iob, num, rz_analysis_t::reg, rz_analysis_value_to_ut64(), RZ_LOG_ERROR, rz_mem_set_num(), rz_reg_set_value(), ut64(), val, and rz_io_bind_t::write_at.
RZ_API char* rz_analysis_value_to_string | ( | RzAnalysisValue * | value | ) |
Definition at line 83 of file value.c.
References NULL, out, PFMT64x, rz_str_append(), rz_str_appendf(), rz_str_new(), and value.
Referenced by rz_analysis_cond_to_string(), and rz_analysis_op_to_string().
RZ_API ut64 rz_analysis_value_to_ut64 | ( | RzAnalysis * | analysis, |
RzAnalysisValue * | val | ||
) |
Definition at line 41 of file value.c.
References num, rz_analysis_t::reg, RZ_LOG_DEBUG, rz_reg_get_value(), ut64(), and val.
Referenced by rz_analysis_cond_eval(), and rz_analysis_value_set_ut64().