Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_debug.h>
Go to the source code of this file.
Functions | |
RZ_API RzDebugPid * | rz_debug_pid_new (const char *path, int pid, int uid, char status, ut64 pc) |
RZ_API RzDebugPid * | rz_debug_pid_free (RzDebugPid *pid) |
RZ_API RzList * | rz_debug_pids (RzDebug *dbg, int pid) |
RZ_API int | rz_debug_pid_list (RzDebug *dbg, int pid, char fmt) |
RZ_API int | rz_debug_thread_list (RzDebug *dbg, int pid, char fmt) |
RZ_API int | rz_debug_pid_parent (RzDebugPid *pid) |
RZ_API int | rz_debug_pid_set_state (struct rz_debug_t *dbg, int status) |
RZ_API struct rz_debug_pid_t * | rz_debug_pid_get_status (struct rz_debug_t *dbg, int pid) |
RZ_API RzDebugPid* rz_debug_pid_free | ( | RzDebugPid * | pid | ) |
Definition at line 20 of file pid.c.
References free(), NULL, and pid.
Referenced by linux_pid_list(), linux_thread_list(), rz_debug_dmp_pids(), rz_debug_gdb_pids(), rz_debug_gdb_threads(), rz_debug_winkd_pids(), windbg_pids(), windbg_threads(), and xnu_thread_list().
RZ_API struct rz_debug_pid_t* rz_debug_pid_get_status | ( | struct rz_debug_t * | dbg, |
int | pid | ||
) |
Definition at line 34 of file pid.c.
References rz_debug_t::cb_printf, rz_debug_t::cur, dbg, list(), p, rz_debug_t::pid, pid, rz_debug_plugin_t::pids, pj_a(), pj_end(), pj_free(), pj_kb(), pj_ki(), pj_ks(), pj_new(), pj_o(), pj_string(), rz_list_free(), and RZ_MAX.
Referenced by cmd_debug_pid().
Definition at line 6 of file pid.c.
References NULL, p, path, pc, pid, RZ_NEW0, status, and strdup().
Referenced by bsd_pid_list(), bsd_thread_list(), build_debug_pid(), linux_add_new_thread(), linux_pid_list(), linux_thread_list(), w32_thread_list(), windbg_pids(), windbg_threads(), xnu_get_pid(), and xnu_thread_list().
RZ_API int rz_debug_pid_parent | ( | RzDebugPid * | pid | ) |
RZ_API int rz_debug_pid_set_state | ( | struct rz_debug_t * | dbg, |
int | status | ||
) |
Definition at line 74 of file pid.c.
References rz_analysis_function_t::addr, rz_debug_t::analysis, rz_debug_t::cb_printf, rz_core_bind_t::core, rz_debug_t::corebind, rz_debug_t::cur, dbg, delta, free(), rz_core_bind_t::getName, rz_core_bind_t::getNameDelta, list(), map(), rz_analysis_function_t::name, NULL, p, path, PFMT64u, PFMT64x, pid, pj_a(), pj_end(), pj_free(), pj_kb(), pj_ki(), pj_ks(), pj_new(), pj_o(), pj_string(), RZ_ABS, rz_analysis_get_fcn_in(), rz_debug_map_get(), rz_list_free(), rz_strbuf_appendf(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), st64, rz_debug_plugin_t::threads, and rz_debug_t::tid.
Referenced by cmd_debug_pid().