Rizin
unix-like reverse engineering framework and cli tools
rz_debug_t Struct Reference

#include <rz_debug.h>

Public Attributes

char * arch
 
int bits
 
int hitinfo
 XXX: MUST SET ///. More...
 
int main_pid
 
int pid
 
int tid
 
int forked_pid
 
int n_threads
 
RzListthreads
 
char * malloc
 
char * btalgo
 
int btdepth
 
int regcols
 
int swstep
 
int stop_all_threads
 
int trace_forks
 
int trace_execs
 
int trace_aftersyscall
 
int trace_clone
 
int follow_child
 
bool create_new_console
 
char * glob_libs
 
char * glob_unlibs
 
bool consbreak
 
bool continue_all_threads
 
int steps
 
RzDebugReason reason
 
RzDebugRecoilMode recoil_mode
 
ut64 stopaddr
 
RzDebugTracetrace
 
HtUP * tracenodes
 
RTreetree
 
RzListcall_frames
 
RzRegreg
 
RzListq_regs
 
RzBreakpointbp
 
char * snap_path
 
PrintfCallback cb_printf
 
RzIOBind iob
 
struct rz_debug_plugin_tcur
 
void * plugin_data
 
RzListplugins
 
bool pc_at_bp
 
bool pc_at_bp_set
 
RzEventev
 
RzHashhash
 
RzAnalysisanalysis
 
RzListmaps
 
RzListmaps_user
 
bool trace_continue
 
RzAnalysisOpcur_op
 
RzDebugSessionsession
 
Sdbsgnls
 
RzCoreBind corebind
 
int _mode
 
RzNumnum
 
RzEggegg
 
bool verbose
 
bool main_arena_resolved
 
int glibc_version
 
bool nt_x86_xstate_supported
 Track whether X86_FEATURE_XSAVE feature is supported on current kernel. More...
 

Detailed Description

Definition at line 241 of file rz_debug.h.

Member Data Documentation

◆ _mode

int rz_debug_t::_mode

Definition at line 316 of file rz_debug.h.

Referenced by capstone.Cs::mode(), rz_debug_signal_list(), siglistcb(), and siglistjsoncb().

◆ analysis

◆ arch

◆ bits

◆ bp

RzBreakpoint* rz_debug_t::bp

Definition at line 288 of file rz_debug.h.

Referenced by __cursor_del_breakpoints(), autocomplete_breakpoints(), cb_asmbits(), cb_bigendian(), cb_dbg_bpinmaps(), cmd_debug_backtrace(), debug_trace_calls(), ds_print_show_cursor(), linux_handle_signals(), linux_reg_profile(), linux_remove_fork_bps(), rz_cmd_debug_add_cond_bp_handler(), rz_cmd_debug_bp_plugin_handler(), rz_cmd_debug_bp_set_expr_cur_offset_handler(), rz_cmd_debug_bt_disable_bp_trace_handler(), rz_cmd_debug_bt_enable_bp_trace_handler(), rz_cmd_debug_bt_toggle_bp_trace_handler(), rz_cmd_debug_command_bp_handler(), rz_cmd_debug_disable_bp_handler(), rz_cmd_debug_disable_bp_index_handler(), rz_cmd_debug_disable_bp_trace_index_handler(), rz_cmd_debug_enable_bp_handler(), rz_cmd_debug_enable_bp_index_handler(), rz_cmd_debug_enable_bp_trace_index_handler(), rz_cmd_debug_list_bp_handler(), rz_cmd_debug_list_bp_indexes_handler(), rz_cmd_debug_name_bp_handler(), rz_cmd_debug_remove_all_bp_handler(), rz_cmd_debug_remove_bp_handler(), rz_cmd_debug_remove_bp_index_handler(), rz_cmd_debug_remove_bp_plugin_handler(), rz_cmd_debug_run_command_bp_index_handler(), rz_cmd_debug_set_expr_bp_index_handler(), rz_cmd_debug_show_bp_index_handler(), rz_cmd_debug_show_cur_bp_handler(), rz_cmd_debug_toggle_bp_index_handler(), rz_cmd_debug_toggle_bp_trace_index_handler(), rz_core_debug_continue_until(), rz_core_debug_step_over(), rz_core_debug_step_skip(), rz_core_esil_step(), rz_core_init(), rz_debug_bp_add(), rz_debug_bp_hit(), rz_debug_bp_rebase(), rz_debug_bp_update(), rz_debug_bps_enable(), rz_debug_continue_back(), rz_debug_continue_kill(), rz_debug_continue_until_internal(), rz_debug_execute(), rz_debug_free(), rz_debug_new(), rz_debug_recoil(), rz_debug_step_hard(), rz_debug_step_soft(), rz_debug_use(), rz_serialize_debug_load(), rz_serialize_debug_save(), and w32_dbg_wait().

◆ btalgo

char* rz_debug_t::btalgo

◆ btdepth

◆ call_frames

RzList* rz_debug_t::call_frames

◆ cb_printf

◆ consbreak

bool rz_debug_t::consbreak

Definition at line 271 of file rz_debug.h.

Referenced by cb_consbreak().

◆ continue_all_threads

bool rz_debug_t::continue_all_threads

◆ corebind

◆ create_new_console

bool rz_debug_t::create_new_console

Definition at line 268 of file rz_debug.h.

Referenced by cb_dbg_create_new_console().

◆ cur

◆ cur_op

RzAnalysisOp* rz_debug_t::cur_op

Definition at line 310 of file rz_debug.h.

Referenced by rz_debug_free(), rz_debug_trace_ins_after(), and rz_debug_trace_ins_before().

◆ egg

RzEgg* rz_debug_t::egg

Definition at line 318 of file rz_debug.h.

Referenced by rz_debug_free(), and rz_debug_new().

◆ ev

RzEvent* rz_debug_t::ev

Definition at line 302 of file rz_debug.h.

Referenced by rz_core_init(), and rz_debug_wait().

◆ follow_child

int rz_debug_t::follow_child

Definition at line 267 of file rz_debug.h.

Referenced by cb_dbg_follow_child(), rz_debug_continue_kill(), and rz_debug_new().

◆ forked_pid

int rz_debug_t::forked_pid

◆ glibc_version

int rz_debug_t::glibc_version

Definition at line 321 of file rz_debug.h.

Referenced by rz_debug_new().

◆ glob_libs

char* rz_debug_t::glob_libs

Definition at line 269 of file rz_debug.h.

Referenced by cb_dbg_libs(), linux_handle_signals(), rz_debug_free(), and rz_debug_wait().

◆ glob_unlibs

char* rz_debug_t::glob_unlibs

Definition at line 270 of file rz_debug.h.

Referenced by cb_dbg_unlibs(), linux_handle_signals(), rz_debug_free(), and rz_debug_wait().

◆ hash

RzHash* rz_debug_t::hash

Definition at line 303 of file rz_debug.h.

Referenced by rz_debug_free(), rz_debug_new(), and rz_debug_snap_get_hash().

◆ hitinfo

int rz_debug_t::hitinfo

XXX: MUST SET ///.

Definition at line 244 of file rz_debug.h.

Referenced by cb_debug_hitinfo(), rz_debug_bp_hit(), and rz_debug_new().

◆ iob

◆ main_arena_resolved

bool rz_debug_t::main_arena_resolved

◆ main_pid

◆ malloc

char* rz_debug_t::malloc

Definition at line 253 of file rz_debug.h.

Referenced by cb_malloc().

◆ maps

◆ maps_user

RzList* rz_debug_t::maps_user

Definition at line 307 of file rz_debug.h.

Referenced by rz_debug_free(), rz_debug_map_list(), and rz_debug_new().

◆ n_threads

int rz_debug_t::n_threads

◆ nt_x86_xstate_supported

bool rz_debug_t::nt_x86_xstate_supported

Track whether X86_FEATURE_XSAVE feature is supported on current kernel.

Definition at line 323 of file rz_debug.h.

Referenced by rz_debug_new().

◆ num

RzNum* rz_debug_t::num

Definition at line 317 of file rz_debug.h.

Referenced by exprmatch(), exprmatchreg(), rz_debug_bp_add(), rz_debug_free(), and rz_debug_new().

◆ pc_at_bp

bool rz_debug_t::pc_at_bp

Definition at line 299 of file rz_debug.h.

Referenced by rz_debug_bp_hit().

◆ pc_at_bp_set

bool rz_debug_t::pc_at_bp_set

Definition at line 300 of file rz_debug.h.

Referenced by rz_debug_bp_hit().

◆ pid

int rz_debug_t::pid

Definition at line 247 of file rz_debug.h.

Referenced by __esil_init(), __th_QueryDebugBuffer(), bsd_generate_corefile(), bsd_handle_signals(), bsd_info(), bsd_native_sysctl_map(), bsd_reg_write(), cb_dbg_aftersc(), cb_dbg_clone(), cb_dbg_execs(), cb_dbg_forks(), cmd_debug_pid(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), get_current_process_and_thread(), get_windows(), GetSingleBlock(), handle_dead_notify(), InitHeapInfo(), linux_attach_new_process(), linux_dbg_wait_break(), linux_dbg_wait_break_main(), linux_handle_signals(), linux_info(), linux_remove_fork_bps(), linux_select(), num_callback(), rz_cmd_debug(), rz_cmd_debug_continue_execution_handler(), rz_cmd_debug_continue_send_signal_handler(), rz_core_cmd_foreach(), rz_core_cmd_foreach3(), rz_core_debug_attach(), rz_core_debug_kill(), rz_core_debug_process_close(), rz_core_file_reopen(), rz_core_rtr_gdb_cb(), rz_debug_continue_kill(), rz_debug_continue_syscalls(), rz_debug_desc_list(), rz_debug_detach(), rz_debug_dmp_attach(), rz_debug_dmp_select(), rz_debug_gdb_detach(), rz_debug_gdb_info(), rz_debug_gdb_wait(), rz_debug_info(), rz_debug_is_dead(), rz_debug_new(), rz_debug_pid_list(), rz_debug_qnx_attach(), rz_debug_select(), rz_debug_signal_send(), rz_debug_syscall(), rz_debug_wait(), rz_debug_winkd_attach(), rz_heap_blocks_list(), rz_heap_list(), rz_heap_list_w32(), rz_w32_dbg_maps(), rz_w32_dbg_modules(), rz_xnu_get_cur_thread(), rz_xnu_update_thread_list(), validate_mach_message(), w32_attach_new_process(), w32_dbg_wait(), w32_detach(), w32_info(), w32_list_heaps_blocks(), w32_pid_list(), w32_select(), w32_thread_list(), windbg_gcore(), windbg_info(), windbg_step_over(), windbg_threads(), windbg_wait(), xnu_attach(), xnu_create_exception_thread(), xnu_dbg_maps(), xnu_fill_info_thread(), xnu_generate_corefile(), xnu_info(), and xnu_step().

◆ plugin_data

void* rz_debug_t::plugin_data

◆ plugins

RzList* rz_debug_t::plugins

◆ q_regs

RzList* rz_debug_t::q_regs

Definition at line 287 of file rz_debug.h.

Referenced by rz_debug_new().

◆ reason

◆ recoil_mode

◆ reg

RzReg* rz_debug_t::reg

Definition at line 286 of file rz_debug.h.

Referenced by _restore_registers(), _set_initial_registers(), _set_register(), agraph_refresh(), autocmplt_cmd_arg_reg_filter(), backtrace_fuzzy(), backtrace_generic(), backtrace_windows(), backtrace_windows_x64(), backtrace_x86_32(), backtrace_x86_32_analysis(), backtrace_x86_64(), backtrace_x86_64_analysis(), cmd_debug_backtrace(), cmd_debug_cont_syscall(), debug_trace_calls(), esilbreak_check_pc(), linux_handle_signals(), prepend_current_pc(), rz_cmd_debug(), rz_cmd_debug_continue_call_handler(), rz_cmd_debug_continue_exception_handler(), rz_cmd_debug_continue_ret_handler(), rz_cmd_debug_continue_send_signal_handler(), rz_cmd_debug_step_line_handler(), rz_cmd_debug_step_prog_handler(), rz_cmd_debug_step_until_handler(), rz_core_debug_continue(), rz_core_debug_continue_until(), rz_core_debug_ri(), rz_core_debug_single_step_over(), rz_core_debug_step_one(), rz_core_debug_step_over(), rz_core_debug_step_skip(), rz_core_esil_step(), rz_core_reg_default(), rz_core_rtr_gdb_cb(), rz_debug_add_checkpoint(), rz_debug_bp_hit(), rz_debug_continue_back(), rz_debug_continue_kill(), rz_debug_continue_syscalls(), rz_debug_continue_until_internal(), rz_debug_continue_until_optype(), rz_debug_esil_stepi(), rz_debug_execute(), rz_debug_free(), rz_debug_gdb_reg_read(), rz_debug_gdb_reg_write(), rz_debug_new(), rz_debug_num_callback(), rz_debug_qnx_reg_read(), rz_debug_qnx_reg_write(), rz_debug_reg_get(), rz_debug_reg_profile_sync(), rz_debug_reg_set(), rz_debug_reg_sync(), rz_debug_select(), rz_debug_step_over(), rz_debug_step_soft(), rz_debug_trace_ins_after(), rz_debug_trace_ins_before(), rz_debug_wait(), rz_debug_winkd_reg_write(), and step_until_optype().

◆ regcols

int rz_debug_t::regcols

◆ session

◆ sgnls

Sdb* rz_debug_t::sgnls

Definition at line 313 of file rz_debug.h.

Referenced by rz_debug_free(), siglistjsoncb(), and update_sdb().

◆ snap_path

char* rz_debug_t::snap_path

Definition at line 289 of file rz_debug.h.

Referenced by rz_debug_free().

◆ steps

int rz_debug_t::steps

Definition at line 275 of file rz_debug.h.

Referenced by rz_debug_step().

◆ stop_all_threads

int rz_debug_t::stop_all_threads

Definition at line 262 of file rz_debug.h.

Referenced by cb_stopthreads(), and rz_debug_new().

◆ stopaddr

ut64 rz_debug_t::stopaddr

Definition at line 278 of file rz_debug.h.

Referenced by linux_handle_signals(), rz_cmd_debug(), and xnu_wait_for_exception().

◆ swstep

◆ threads

◆ tid

◆ trace

◆ trace_aftersyscall

int rz_debug_t::trace_aftersyscall

Definition at line 265 of file rz_debug.h.

Referenced by cb_dbg_aftersc(), linux_set_options(), and rz_debug_new().

◆ trace_clone

int rz_debug_t::trace_clone

Definition at line 266 of file rz_debug.h.

Referenced by cb_dbg_clone(), rz_debug_continue_kill(), and rz_debug_new().

◆ trace_continue

bool rz_debug_t::trace_continue

Definition at line 309 of file rz_debug.h.

Referenced by cb_dbg_trace_continue(), and rz_debug_continue_kill().

◆ trace_execs

int rz_debug_t::trace_execs

Definition at line 264 of file rz_debug.h.

Referenced by cb_dbg_execs(), linux_set_options(), and rz_debug_new().

◆ trace_forks

int rz_debug_t::trace_forks

Definition at line 263 of file rz_debug.h.

Referenced by cb_dbg_forks(), linux_set_options(), and rz_debug_new().

◆ tracenodes

HtUP* rz_debug_t::tracenodes

◆ tree

◆ verbose

bool rz_debug_t::verbose

Definition at line 319 of file rz_debug.h.

Referenced by cb_dbg_verbose(), rz_debug_select(), and rz_debug_trace_op().


The documentation for this struct was generated from the following file: