Rizin
unix-like reverse engineering framework and cli tools
|
#include "libgdbr.h"
#include "gdbr_common.h"
#include "packet.h"
#include "utils.h"
#include "rz_util/rz_str.h"
Go to the source code of this file.
Functions | |
int | handle_qSupported (libgdbr_t *g) |
int | send_ack (libgdbr_t *g) |
Functions sends a single ack ('+') More... | |
int | send_msg (libgdbr_t *g, const char *msg) |
Function sends a message to the remote gdb instance. More... | |
Definition at line 12 of file common.c.
References g, GDB_REMOTE_TYPE_LLDB, NULL, p, RZ_MAX, RZ_MIN, rz_str_startswith(), and send_ack().
Referenced by _server_handle_qSupported(), and gdbr_connect().
Functions sends a single ack ('+')
g | the "instance" of the current libgdbr session |
Definition at line 130 of file common.c.
References eprintf, g, and rz_socket_write().
Referenced by _server_handle_c(), _server_handle_exec_file_read(), _server_handle_g(), _server_handle_Hc(), _server_handle_Hg(), _server_handle_k(), _server_handle_M(), _server_handle_m(), _server_handle_p(), _server_handle_P(), _server_handle_qAttached(), _server_handle_qC(), _server_handle_qfThreadInfo(), _server_handle_qOffsets(), _server_handle_qsThreadInfo(), _server_handle_qTfV(), _server_handle_qTStatus(), _server_handle_ques(), _server_handle_s(), _server_handle_vCont(), _server_handle_vKill(), _server_handle_vMustReplyEmpty(), _server_handle_z(), gdbr_check_extended_mode(), gdbr_check_vcont(), gdbr_connect(), gdbr_connect_lldb(), gdbr_detach_pid(), gdbr_exec_file_read(), gdbr_get_baddr(), gdbr_is_thread_dead(), gdbr_kill_pid(), gdbr_pids_list(), gdbr_read_feature(), gdbr_read_osdata(), gdbr_select(), gdbr_send_qRcmd(), gdbr_server_serve(), gdbr_threads_list(), handle_attach(), handle_g(), handle_G(), handle_lldb_read_reg(), handle_m(), handle_M(), handle_P(), handle_qC(), handle_qStatus(), handle_qSupported(), handle_removebp(), handle_setbp(), handle_stop_reason(), handle_vFile_close(), handle_vFile_open(), and handle_vFile_pread().
Function sends a message to the remote gdb instance.
g | the "instance" of the current libgdbr session |
msg | the message that will be sent |
Definition at line 146 of file common.c.
References g, msg, pack(), and send_packet().
Referenced by __system(), _server_handle_c(), _server_handle_exec_file_read(), _server_handle_g(), _server_handle_Hc(), _server_handle_Hg(), _server_handle_M(), _server_handle_m(), _server_handle_p(), _server_handle_P(), _server_handle_qAttached(), _server_handle_qC(), _server_handle_qfThreadInfo(), _server_handle_qOffsets(), _server_handle_qsThreadInfo(), _server_handle_qSupported(), _server_handle_qTfV(), _server_handle_qTStatus(), _server_handle_ques(), _server_handle_s(), _server_handle_vCont(), _server_handle_vKill(), _server_handle_vMustReplyEmpty(), _server_handle_z(), gdbr_attach(), gdbr_check_extended_mode(), gdbr_check_vcont(), gdbr_close_file(), gdbr_connect(), gdbr_connect_lldb(), gdbr_detach(), gdbr_detach_pid(), gdbr_exec_file_read(), gdbr_get_baddr(), gdbr_is_thread_dead(), gdbr_kill(), gdbr_kill_pid(), gdbr_open_file(), gdbr_pids_list(), gdbr_read_feature(), gdbr_read_file(), gdbr_read_memory_page(), gdbr_read_osdata(), gdbr_read_registers(), gdbr_read_registers_lldb(), gdbr_select(), gdbr_send_qRcmd(), gdbr_server_serve(), gdbr_stop_reason(), gdbr_threads_list(), gdbr_write_bin_registers(), gdbr_write_memory(), gdbr_write_register(), gdbr_write_registers(), remove_bp(), send_vcont(), set_bp(), and test_command().