Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_analysis.h>
Go to the source code of this file.
Functions | |
static RzAnalysisSwitchOp * | __switch_op_new (void) |
RZ_API RzAnalysisSwitchOp * | rz_analysis_switch_op_new (ut64 addr, ut64 min_val, ut64 max_val, ut64 def_val) |
RZ_API RzAnalysisCaseOp * | rz_analysis_case_op_new (ut64 addr, ut64 val, ut64 jump) |
RZ_API void | rz_analysis_switch_op_free (RzAnalysisSwitchOp *swop) |
RZ_API RzAnalysisCaseOp * | rz_analysis_switch_op_add_case (RzAnalysisSwitchOp *swop, ut64 addr, ut64 value, ut64 jump) |
|
static |
Definition at line 7 of file switch.c.
References rz_analysis_switch_obj_t::cases, rz_analysis_switch_obj_t::def_val, rz_list_t::free, free(), rz_analysis_switch_obj_t::max_val, rz_analysis_switch_obj_t::min_val, NULL, rz_list_new(), and RZ_NEW0.
Referenced by rz_analysis_switch_op_new().
RZ_API RzAnalysisCaseOp* rz_analysis_case_op_new | ( | ut64 | addr, |
ut64 | val, | ||
ut64 | jump | ||
) |
Definition at line 32 of file switch.c.
References addr, c, jump(), RZ_NEW0, and val.
Referenced by rz_analysis_switch_op_add_case().
RZ_API RzAnalysisCaseOp* rz_analysis_switch_op_add_case | ( | RzAnalysisSwitchOp * | swop, |
ut64 | addr, | ||
ut64 | value, | ||
ut64 | jump | ||
) |
Definition at line 49 of file switch.c.
References addr, rz_analysis_switch_obj_t::cases, jump(), NULL, rz_analysis_case_op_new(), rz_list_append(), rz_return_val_if_fail, UT64_MAX, and value.
Referenced by rz_analysis_block_add_switch_case(), and rz_serialize_analysis_switch_op_load().
RZ_API void rz_analysis_switch_op_free | ( | RzAnalysisSwitchOp * | swop | ) |
Definition at line 42 of file switch.c.
References rz_analysis_switch_obj_t::cases, free(), and rz_list_free().
Referenced by block_free(), rz_analysis_block_chop_noreturn(), rz_analysis_block_merge(), and rz_analysis_op_fini().
RZ_API RzAnalysisSwitchOp* rz_analysis_switch_op_new | ( | ut64 | addr, |
ut64 | min_val, | ||
ut64 | max_val, | ||
ut64 | def_val | ||
) |
Definition at line 21 of file switch.c.
References __switch_op_new(), addr, rz_analysis_switch_obj_t::addr, rz_analysis_switch_obj_t::def_val, rz_analysis_switch_obj_t::max_val, and rz_analysis_switch_obj_t::min_val.
Referenced by rz_analysis_block_add_switch_case(), and rz_serialize_analysis_switch_op_load().