Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_debug.h>
Go to the source code of this file.
Classes | |
struct | EsilBreak |
Macros | |
#define | EWPS esil_watchpoints |
#define | ESIL dbg->analysis->esil |
#define | CURVAL |
Variables | |
RzDebug * | dbg = NULL |
static int | has_match = 0 |
static int | prestep = 1 |
static ut64 | opc = 0 |
RzList * | esil_watchpoints = NULL |
#define CURVAL |
#define EWPS esil_watchpoints |
Definition at line 71 of file desil.c.
References dbg, EWPS, EsilBreak::expr, exprmatch(), rz_reg_t::name, pc, rz_debug_t::reg, EsilBreak::rwx, rz_debug_reg_get(), RZ_PERM_X, and RZ_REG_NAME_PC.
Referenced by rz_debug_esil_stepi().
|
static |
Definition at line 87 of file desil.c.
References addr, Color_GREEN, Color_RESET, dbg, EsilBreak::dev, eprintf, EWPS, EsilBreak::expr, exprmatch(), has_match, PFMT64x, EsilBreak::rwx, and RZ_PERM_R.
Referenced by rz_debug_esil_stepi().
|
static |
Definition at line 102 of file desil.c.
References addr, Color_RED, Color_RESET, dbg, EsilBreak::dev, eprintf, EWPS, EsilBreak::expr, exprmatch(), has_match, PFMT64x, EsilBreak::rwx, and RZ_PERM_W.
Referenced by rz_debug_esil_stepi().
|
static |
Definition at line 117 of file desil.c.
References Color_RESET, Color_YELLOW, EsilBreak::dev, eprintf, EWPS, EsilBreak::expr, has_match, regname(), EsilBreak::rwx, and RZ_PERM_R.
Referenced by rz_debug_esil_stepi().
|
static |
Definition at line 193 of file desil.c.
References Color_MAGENTA, Color_RESET, dbg, EsilBreak::dev, eprintf, EWPS, EsilBreak::expr, exprmatchreg(), has_match, num, PFMT64x, regname(), EsilBreak::rwx, and RZ_PERM_W.
Referenced by rz_debug_esil_stepi().
|
static |
Definition at line 308 of file desil.c.
References EsilBreak::expr, free(), and RZ_FREE.
Referenced by rz_debug_esil_watch().
Definition at line 38 of file desil.c.
References a, addr, b, dbg, e, expr(), free(), has_match, rz_debug_t::num, p, rz_num_math(), strdup(), and ut64().
Referenced by esilbreak_check_pc(), esilbreak_mem_read(), esilbreak_mem_write(), and exprmatchreg().
Definition at line 149 of file desil.c.
References CURVAL, dbg, expr(), exprmatch(), exprtoken(), free(), rz_debug_t::num, num, p, regname(), rz_debug_reg_get(), rz_num_math(), rz_str_trim(), s, strdup(), and ut64().
Referenced by esilbreak_reg_write().
Definition at line 304 of file desil.c.
References dbg, rz_debug_esil_step(), and UT32_MAX.
Referenced by rz_core_debug_esil().
Definition at line 214 of file desil.c.
Referenced by rz_core_debug_esil().
Definition at line 280 of file desil.c.
References count, dbg, eprintf, has_match, NULL, opc, PFMT64x, rz_cons_break_pop(), rz_cons_break_push(), rz_cons_is_breaked(), and rz_debug_esil_stepi().
Referenced by rz_core_debug_esil(), and rz_debug_esil_continue().
Definition at line 218 of file desil.c.
References rz_debug_t::analysis, d, dbg, eprintf, ESIL, esilbreak_check_pc(), esilbreak_mem_read(), esilbreak_mem_write(), esilbreak_reg_read(), esilbreak_reg_write(), has_match, rz_io_bind_t::io, rz_debug_t::iob, rz_reg_t::name, obuf, op, opc, PFMT64x, prestep, rz_io_bind_t::read_at, rz_debug_t::reg, rz_analysis_esil_new(), rz_analysis_esil_parse(), rz_analysis_esil_set_pc(), rz_analysis_esil_stack_free(), rz_analysis_op(), RZ_ANALYSIS_OP_MASK_ESIL, rz_debug_reg_get(), rz_debug_reg_sync(), rz_debug_step(), RZ_REG_NAME_PC, RZ_REG_TYPE_GPR, and RZ_STRBUF_SAFEGET.
Referenced by rz_debug_esil_step().
Definition at line 317 of file desil.c.
References EsilBreak::dev, dev, EWPS, ewps_free(), EsilBreak::expr, expr(), EsilBreak::rwx, RZ_FREE, rz_list_append(), rz_list_new(), RZ_NEW0, and strdup().
Referenced by rz_core_debug_esil().
Definition at line 341 of file desil.c.
References rz_debug_t::cb_printf, dbg, EsilBreak::dev, EWPS, EsilBreak::expr, EsilBreak::rwx, and rz_str_rwx_i().
Referenced by rz_core_debug_esil().
Definition at line 336 of file desil.c.
References EWPS, NULL, and rz_list_free().
Referenced by rz_core_debug_esil().
Definition at line 30 of file desil.c.
Referenced by __esil_attach(), __esil_init(), __esil_reg_profile(), __esil_step(), __io_continue(), __io_kill(), __io_maps(), __io_reg_profile(), __io_step(), __io_step_over(), __rap_attach(), __rap_continue(), __rap_reg_profile(), __rap_reg_read(), __rap_step(), __read(), __reg_read(), _restore_memory(), _restore_memory_cb(), _restore_registers(), _set_initial_memory(), _set_initial_registers(), _set_register(), add_thread(), backtrace_fuzzy(), backtrace_generic(), backtrace_windows(), backtrace_windows_x64(), backtrace_x86_32(), backtrace_x86_32_analysis(), backtrace_x86_64(), backtrace_x86_64_analysis(), break_debugger(), bsd_generate_corefile(), bsd_handle_signals(), bsd_info(), bsd_native_sysctl_map(), bsd_reg_write(), check_connection(), cur_dbg_plugin_is_windbg(), DecodeHeapEntry(), DecodeLFHEntry(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), do_debug_trace_calls(), drx_add(), drx_del(), esilbreak_check_pc(), esilbreak_mem_read(), esilbreak_mem_write(), esilbreak_reg_write(), exprmatch(), exprmatchreg(), find_thread(), get_current_process_and_thread(), get_dispatchmessage_offset(), get_pid_thread_list(), get_thread_handle_from_tid(), get_windows(), GetHeapBlocks(), GetHeapGlobalsOffset(), GetLFHKey(), GetListOfHeaps(), GetSingleBlock(), GetSingleSegmentBlock(), handle_dead_notify(), handle_exception_message(), InitHeapInfo(), is_io_bf(), is_thread_alive(), is_x86_call(), is_x86_ret(), isBochs(), iscallret(), linux_add_new_thread(), linux_attach(), linux_attach_new_process(), linux_attach_single_pid(), linux_dbg_wait(), linux_dbg_wait_break(), linux_dbg_wait_break_main(), linux_detach_all(), linux_handle_new_task(), linux_handle_signals(), linux_info(), linux_reg_profile(), linux_reg_read(), linux_reg_write(), linux_remove_fork_bps(), linux_remove_thread(), linux_select(), linux_set_options(), linux_step(), linux_stop_thread(), linux_stop_threads(), linux_thread_list(), prepend_current_pc(), print_debug_map_line(), print_debug_maps_ascii_art(), print_windows(), read_ptr(), read_register(), rz_core_cmd_foreach3(), rz_core_debug_map_print(), rz_core_debug_plugin_print(), rz_core_debug_plugins_print(), rz_core_debug_process_close(), rz_core_static_debug_stop(), rz_debug_add_checkpoint(), rz_debug_attach(), rz_debug_bf_attach(), rz_debug_bf_continue(), rz_debug_bf_continue_syscall(), rz_debug_bf_kill(), rz_debug_bf_reg_read(), rz_debug_bf_reg_write(), rz_debug_bf_step(), rz_debug_bf_step_over(), rz_debug_bf_stop(), rz_debug_bochs_attach(), rz_debug_bochs_map_get(), rz_debug_bochs_reg_profile(), rz_debug_bochs_reg_read(), rz_debug_bochs_step(), rz_debug_bochs_wait(), rz_debug_bp_add(), rz_debug_bp_hit(), rz_debug_bp_rebase(), rz_debug_bp_update(), rz_debug_bps_enable(), rz_debug_can_kill(), rz_debug_continue(), rz_debug_continue_back(), rz_debug_continue_kill(), rz_debug_continue_pass_exception(), rz_debug_continue_syscall(), rz_debug_continue_syscalls(), rz_debug_continue_until(), rz_debug_continue_until_internal(), rz_debug_continue_until_nonblock(), rz_debug_continue_until_optype(), rz_debug_desc_close(), rz_debug_desc_dup(), rz_debug_desc_list(), rz_debug_desc_open(), rz_debug_desc_read(), rz_debug_desc_seek(), rz_debug_desc_write(), rz_debug_detach(), rz_debug_dmp_attach(), rz_debug_dmp_frames(), rz_debug_dmp_init(), rz_debug_dmp_maps(), rz_debug_dmp_modules(), rz_debug_dmp_pids(), rz_debug_dmp_reg_profile(), rz_debug_dmp_reg_read(), rz_debug_dmp_select(), rz_debug_dmp_threads(), rz_debug_drx_at(), rz_debug_drx_list(), rz_debug_drx_set(), rz_debug_drx_unset(), rz_debug_esil_continue(), rz_debug_esil_step(), rz_debug_esil_stepi(), rz_debug_esil_watch_list(), rz_debug_execute(), rz_debug_frames(), rz_debug_free(), rz_debug_gdb_attach(), rz_debug_gdb_breakpoint(), rz_debug_gdb_continue(), rz_debug_gdb_detach(), rz_debug_gdb_frames(), rz_debug_gdb_info(), rz_debug_gdb_kill(), rz_debug_gdb_map_get(), rz_debug_gdb_modules_get(), rz_debug_gdb_pids(), rz_debug_gdb_reg_profile(), rz_debug_gdb_reg_read(), rz_debug_gdb_reg_write(), rz_debug_gdb_select(), rz_debug_gdb_set_reg_profile(), rz_debug_gdb_step(), rz_debug_gdb_threads(), rz_debug_gdb_wait(), rz_debug_get_baddr(), rz_debug_goto_cnum(), rz_debug_info(), rz_debug_is_dead(), rz_debug_kill(), rz_debug_kill_list(), rz_debug_kill_setup(), rz_debug_map_alloc(), rz_debug_map_dealloc(), rz_debug_map_get(), rz_debug_map_list(), rz_debug_map_list_visual(), rz_debug_map_protect(), rz_debug_map_sync(), rz_debug_modules_list(), rz_debug_native_frames(), rz_debug_native_map_get(), rz_debug_new(), rz_debug_num_callback(), rz_debug_pid_list(), rz_debug_pids(), rz_debug_plugin_add(), rz_debug_plugin_init(), rz_debug_plugin_set_reg_profile(), rz_debug_qnx_attach(), rz_debug_qnx_reg_profile(), rz_debug_qnx_reg_read(), rz_debug_qnx_reg_write(), rz_debug_qnx_wait(), rz_debug_recoil(), rz_debug_reg_get(), rz_debug_reg_profile_sync(), rz_debug_reg_set(), rz_debug_reg_sync(), rz_debug_select(), rz_debug_session_list_memory(), rz_debug_session_load(), rz_debug_session_restore_reg_mem(), rz_debug_set_arch(), rz_debug_signal_list(), rz_debug_signal_send(), rz_debug_snap_get_hash(), rz_debug_snap_is_equal(), rz_debug_snap_map(), rz_debug_step(), rz_debug_step_back(), rz_debug_step_cnum(), rz_debug_step_hard(), rz_debug_step_over(), rz_debug_step_soft(), rz_debug_stop(), rz_debug_stop_reason(), rz_debug_syscall(), rz_debug_thread_list(), rz_debug_trace_add(), rz_debug_trace_at(), rz_debug_trace_get(), rz_debug_trace_ins_after(), rz_debug_trace_ins_before(), rz_debug_trace_is_traceable(), rz_debug_trace_op(), rz_debug_trace_pc(), rz_debug_trace_print(), rz_debug_trace_reset(), rz_debug_trace_tag(), rz_debug_tracenodes_reset(), rz_debug_traces_ascii(), rz_debug_traces_info(), rz_debug_use(), rz_debug_wait(), rz_debug_winkd_attach(), rz_debug_winkd_frames(), rz_debug_winkd_reg_profile(), rz_debug_winkd_reg_write(), rz_debug_winkd_wait(), rz_serialize_debug_load(), rz_serialize_debug_save(), rz_w32_add_winmsg_breakpoint(), rz_w32_dbg_maps(), rz_w32_dbg_modules(), rz_w32_print_windows(), rz_xnu_get_cur_thread(), rz_xnu_get_thread(), rz_xnu_thread_get_drx(), rz_xnu_thread_get_gpr(), rz_xnu_thread_set_drx(), rz_xnu_thread_set_gpr(), rz_xnu_update_thread_list(), show_syscall(), siglistcb(), unwind_function(), validate_mach_message(), w32_attach(), w32_attach_new_process(), w32_break_process(), w32_continue(), w32_dbg_wait(), w32_detach(), w32_hwbp_arm_add(), w32_hwbp_arm_del(), w32_info(), w32_info_exe(), w32_info_user(), w32_init(), w32_kill(), w32_map_alloc(), w32_map_dealloc(), w32_map_protect(), w32_pid_list(), w32_reg_read(), w32_reg_write(), w32_select(), w32_thread_list(), windbg_attach(), windbg_breakpoint(), windbg_continue(), windbg_detach(), windbg_frames(), windbg_gcore(), windbg_info(), windbg_init(), windbg_kill(), windbg_map_get(), windbg_modules_get(), windbg_pids(), windbg_reg_profile(), windbg_reg_read(), windbg_reg_write(), windbg_select(), windbg_step(), windbg_step_over(), windbg_stop(), windbg_threads(), windbg_wait(), xnu_attach(), xnu_clear_trace_bit(), xnu_continue(), xnu_create_exception_thread(), xnu_dbg_maps(), xnu_dbg_modules(), xnu_detach(), xnu_fill_info_thread(), xnu_generate_corefile(), xnu_get_thread_with_info(), xnu_info(), xnu_map_alloc(), xnu_map_dealloc(), xnu_map_protect(), xnu_reg_profile(), xnu_reg_read(), xnu_reg_write(), xnu_set_trace_bit(), xnu_step(), xnu_thread_list(), xnu_update_thread_info(), xnu_wait(), and xnu_wait_for_exception().
|
static |
Definition at line 31 of file desil.c.
Referenced by esilbreak_mem_read(), esilbreak_mem_write(), esilbreak_reg_read(), esilbreak_reg_write(), exprmatch(), rz_debug_esil_step(), and rz_debug_esil_stepi().
|
static |
Definition at line 33 of file desil.c.
Referenced by arm_assemble(), cr16_get_opcode_159_0(), get_operand(), logical(), print_insn_hppa(), print_insn_xtensa(), print_xtensa_operand(), rz_analysis_reflines_get(), rz_debug_esil_step(), rz_debug_esil_stepi(), thumb_assemble(), xtensa_interfaceOperand_interface(), xtensa_opcode_decode(), xtensa_opcode_encode(), xtensa_opcode_funcUnit_use(), xtensa_opcode_is_branch(), xtensa_opcode_is_call(), xtensa_opcode_is_jump(), xtensa_opcode_is_loop(), xtensa_opcode_name(), xtensa_opcode_num_funcUnit_uses(), xtensa_opcode_num_interfaceOperands(), xtensa_opcode_num_operands(), xtensa_opcode_num_stateOperands(), xtensa_operand_decode(), xtensa_operand_do_reloc(), xtensa_operand_encode(), xtensa_operand_get_field(), xtensa_operand_inout(), xtensa_operand_is_known_reg(), xtensa_operand_is_PCrelative(), xtensa_operand_is_register(), xtensa_operand_is_visible(), xtensa_operand_name(), xtensa_operand_num_regs(), xtensa_operand_regfile(), xtensa_operand_set_field(), xtensa_operand_undo_reloc(), xtensa_stateOperand_inout(), and xtensa_stateOperand_state().
|
static |
Definition at line 32 of file desil.c.
Referenced by rz_debug_esil_prestep(), and rz_debug_esil_stepi().