Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API int | rz_debug_reg_sync (RzDebug *dbg, int type, int write) |
RZ_API int | rz_debug_reg_set (struct rz_debug_t *dbg, const char *name, ut64 num) |
RZ_API ut64 | rz_debug_reg_get (RzDebug *dbg, const char *name) |
RZ_API ut64 | rz_debug_num_callback (RzNum *userptr, const char *str, int *ok) |
RZ_API bool | rz_debug_reg_profile_sync (RzDebug *dbg) |
Definition at line 104 of file dreg.c.
References dbg, ok, rz_debug_t::reg, rz_debug_reg_sync(), rz_reg_get_by_role_or_name(), rz_reg_get_value(), RZ_REG_TYPE_ANY, cmd_descs_generate::str, and UT64_MAX.
Referenced by rz_debug_new().
Definition at line 99 of file dreg.c.
References dbg, rz_debug_t::reg, rz_debug_reg_sync(), rz_reg_getv_by_role_or_name(), and RZ_REG_TYPE_ANY.
Referenced by __esil_step(), __panels_process(), cmd_dcu(), cmd_debug_backtrace(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), do_debug_trace_calls(), esilbreak_check_pc(), exprmatchreg(), linux_handle_signals(), linux_thread_list(), num_callback(), rz_cmd_debug_continue_mapped_io_handler(), rz_cmd_debug_step_prog_handler(), rz_core_cmd_subst_i(), rz_core_dbg_follow_seek_register(), rz_core_debug_continue_until(), rz_core_debug_esil(), rz_core_debug_step_one(), rz_core_debug_step_over(), rz_core_debug_step_skip(), rz_core_debug_step_until_frame(), rz_core_reg_getv_by_role_or_name(), rz_core_visual_cmd(), rz_core_visual_title(), rz_debug_continue_kill(), rz_debug_continue_until_internal(), rz_debug_continue_until_optype(), rz_debug_esil_stepi(), rz_debug_select(), rz_debug_step_over(), rz_debug_step_soft(), rz_debug_trace_ins_before(), show_syscall(), step_line(), step_until(), step_until_flag(), step_until_inst(), step_until_optype(), and xnu_wait_for_exception().
Definition at line 116 of file dreg.c.
References rz_debug_t::cur, dbg, free(), rz_debug_plugin_t::name, p, rz_debug_t::reg, rz_debug_plugin_t::reg_profile, rz_debug_reg_sync(), RZ_LOG_WARN, rz_reg_set_profile_string(), and RZ_REG_TYPE_ANY.
Referenced by core_file_do_load_for_debug(), rz_core_debug_attach(), and rz_debug_use().
RZ_API int rz_debug_reg_set | ( | struct rz_debug_t * | dbg, |
const char * | name, | ||
ut64 | num | ||
) |
Definition at line 89 of file dreg.c.
References dbg, num, rz_debug_t::reg, rz_debug_reg_sync(), rz_reg_get_by_role_or_name(), rz_reg_set_value(), and RZ_REG_TYPE_ANY.
Referenced by rz_core_debug_step_skip(), rz_core_reg_set_by_role_or_name(), and rz_debug_continue_kill().
Definition at line 9 of file dreg.c.
References calloc(), rz_debug_t::cur, dbg, eprintf, free(), i, int, rz_list_t::length, mask, rz_reg_set_t::maskregstype, n, rz_debug_t::reg, rz_debug_plugin_t::reg_read, rz_debug_plugin_t::reg_write, rz_reg_set_t::regs, rz_reg_t::regset, rz_debug_is_dead(), rz_reg_get_bytes(), rz_reg_set_bytes(), RZ_REG_TYPE_ANY, RZ_REG_TYPE_GPR, RZ_REG_TYPE_LAST, rz_reg_t::size, rz_debug_t::tid, type, v, and write.
Referenced by __esil_step(), cmd_dcu(), cmd_regs_sync(), do_debug_trace_calls(), drx_add(), drx_del(), linux_remove_fork_bps(), linux_thread_list(), rz_cmd_debug_continue_mapped_io_handler(), rz_cmd_debug_step_prog_handler(), rz_core_arg_get(), rz_core_debug_continue_until(), rz_core_debug_step_one(), rz_core_debug_step_skip(), rz_core_link_stroff(), rz_core_reg_update_flags(), rz_core_rtr_gdb_cb(), rz_debug_add_checkpoint(), rz_debug_bp_hit(), rz_debug_continue_syscalls(), rz_debug_continue_until_optype(), rz_debug_drx_handler(), rz_debug_drx_unset_handler(), rz_debug_esil_stepi(), rz_debug_execute(), rz_debug_num_callback(), rz_debug_reg_get(), rz_debug_reg_profile_sync(), rz_debug_reg_set(), rz_debug_select(), rz_debug_session_restore_reg_mem(), rz_debug_trace_ins_after(), rz_debug_wait(), step_until_esil(), step_until_flag(), and step_until_inst().