Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
int | handle_g (libgdbr_t *g) |
int | handle_G (libgdbr_t *g) |
int | handle_m (libgdbr_t *g) |
int | handle_M (libgdbr_t *g) |
int | handle_P (libgdbr_t *g) |
int | handle_cont (libgdbr_t *g) |
int | handle_qStatus (libgdbr_t *g) |
int | handle_qC (libgdbr_t *g) |
int | handle_execFileRead (libgdbr_t *g) |
int | handle_qSupported (libgdbr_t *g) |
int | handle_setbp (libgdbr_t *g) |
int | handle_removebp (libgdbr_t *g) |
int | handle_attach (libgdbr_t *g) |
int | handle_vFile_open (libgdbr_t *g) |
int | handle_vFile_pread (libgdbr_t *g, ut8 *buf) |
int | handle_vFile_close (libgdbr_t *g) |
int | handle_stop_reason (libgdbr_t *g) |
int | handle_lldb_read_reg (libgdbr_t *g) |
Definition at line 124 of file responses.c.
References g, and send_ack().
Referenced by gdbr_attach().
Definition at line 383 of file responses.c.
References g, and handle_stop_reason().
Referenced by send_vcont().
For handling responses from gdbserver See Appendix E in the gdb manual (GDB Remote Serial Protocol) Packets look following: $ starts a command/packet, the end is indicated with # and a final checksum $<command>#<checksum>
Definition at line 11 of file responses.c.
References g, send_ack(), and unpack_hex().
Referenced by gdbr_read_registers().
Definition at line 19 of file responses.c.
References g, and send_ack().
Referenced by gdbr_write_bin_registers(), and gdbr_write_registers().
Definition at line 387 of file responses.c.
References buflen, g, int, isxdigit, memcpy(), memset(), NULL, send_ack(), and unpack_hex().
Referenced by gdbr_read_registers_lldb().
Definition at line 36 of file responses.c.
References g, len, send_ack(), and unpack_hex().
Referenced by gdbr_read_memory_page().
Definition at line 23 of file responses.c.
References g, and send_ack().
Referenced by gdbr_write_memory().
Definition at line 27 of file responses.c.
References g, MSG_NOT_SUPPORTED, MSG_OK, and send_ack().
Referenced by gdbr_write_register().
Definition at line 77 of file responses.c.
References g, read_thread_id(), and send_ack().
Referenced by gdbr_connect().
Definition at line 48 of file responses.c.
References free(), g, NULL, send_ack(), and strdup().
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().
Definition at line 120 of file responses.c.
References g, and send_ack().
Referenced by remove_bp().
Definition at line 244 of file responses.c.
References calloc(), eprintf, free(), g, int, isxdigit, memset(), NULL, read_thread_id(), RZ_DEBUG_REASON_BREAKPOINT, RZ_DEBUG_REASON_NONE, RZ_DEBUG_REASON_SIGNAL, rz_str_startswith(), send_ack(), stop_reason_exit(), stop_reason_terminated(), and unpack_hex().
Referenced by __system(), gdbr_stop_reason(), and handle_cont().
Definition at line 177 of file responses.c.
References g, isxdigit, and send_ack().
Referenced by gdbr_close_file().
Definition at line 132 of file responses.c.
References g, isxdigit, NULL, and send_ack().
Referenced by gdbr_open_file().
Definition at line 145 of file responses.c.
References g, isxdigit, len, memcpy(), and send_ack().
Referenced by gdbr_read_file().