Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static ut8 * | rz_rap_packet (ut8 type, ut32 len) |
static void | rz_rap_packet_fill (ut8 *buf, const ut8 *src, int len) |
RZ_API int | rz_socket_rap_client_open (RzSocket *s, const char *file, int rw) |
RZ_API char * | rz_socket_rap_client_command (RzSocket *s, const char *cmd, RzCoreBind *c) |
RZ_API int | rz_socket_rap_client_write (RzSocket *s, const ut8 *buf, int count) |
RZ_API int | rz_socket_rap_client_read (RzSocket *s, ut8 *buf, int count) |
RZ_API int | rz_socket_rap_client_seek (RzSocket *s, ut64 offset, int whence) |
Definition at line 7 of file socket_rap_client.c.
References len, malloc(), rz_write_be32(), and type.
Referenced by rz_socket_rap_client_command().
Definition at line 16 of file socket_rap_client.c.
References len, memcpy(), RZ_MIN, rz_read_be32(), and src.
Referenced by rz_socket_rap_client_command().
RZ_API char* rz_socket_rap_client_command | ( | RzSocket * | s, |
const char * | cmd, | ||
RzCoreBind * | c | ||
) |
Definition at line 58 of file socket_rap_client.c.
References c, calloc(), cmd, eprintf, free(), i, malloc(), memcpy(), NULL, RAP_PACKET_CMD, RAP_PACKET_REPLY, rz_rap_packet(), rz_rap_packet_fill(), rz_read_at_be32(), rz_socket_flush(), rz_socket_read_block(), rz_socket_write(), rz_write_be32(), and s.
Referenced by __rap_system(), and rz_core_rtr_cmd().
Definition at line 23 of file socket_rap_client.c.
References eprintf, fd, free(), malloc(), memcpy(), memset(), r, RAP_PACKET_OPEN, RAP_PACKET_REPLY, rz_read_at_be32(), rz_socket_block_time(), rz_socket_flush(), rz_socket_read_block(), rz_socket_write(), s, and ut8.
Referenced by __rap_open(), and rz_core_rtr_add().
Definition at line 149 of file socket_rap_client.c.
References count, eprintf, i, RAP_PACKET_MAX, RAP_PACKET_READ, RAP_PACKET_REPLY, rz_read_at_be32(), rz_socket_block_time(), rz_socket_flush(), rz_socket_read_block(), rz_socket_write(), rz_write_be32(), s, and autogen_x86imm::tmp.
Referenced by __rap_read().
Definition at line 181 of file socket_rap_client.c.
References eprintf, RAP_PACKET_REPLY, RAP_PACKET_SEEK, rz_read_at_be64(), rz_socket_flush(), rz_socket_read_block(), rz_socket_write(), rz_write_be64(), s, autogen_x86imm::tmp, and ut8.
Referenced by __rap_lseek().
Definition at line 116 of file socket_rap_client.c.
References count, eprintf, free(), malloc(), memcpy(), RAP_PACKET_MAX, RAP_PACKET_WRITE, rz_read_be32(), rz_socket_flush(), rz_socket_read_block(), rz_socket_write(), rz_write_be32(), s, and autogen_x86imm::tmp.
Referenced by __rap_write().