Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | io_backend_t |
struct | io_desc_t |
Macros | |
#define | eprintf(...) { fprintf(stderr, ##__VA_ARGS__); } |
#define | HAVE_EPRINTF 1 |
#define | KD_IO_PIPE 0 |
#define | KD_IO_NET 1 |
Typedefs | |
typedef struct io_backend_t | io_backend_t |
typedef struct io_desc_t | io_desc_t |
Enumerations | |
enum | { E_OK = 0 , E_TIMEOUT = -1 , E_ERROR = -2 , E_NOIF = -3 } |
Functions | |
io_desc_t * | io_desc_new (io_backend_t *iob, void *fp) |
int | iob_write (io_desc_t *desc, const uint8_t *buf, const uint32_t buf_len) |
int | iob_read (io_desc_t *desc, uint8_t *buf, const uint32_t buf_len) |
Variables | |
io_backend_t | iob_pipe |
io_backend_t | iob_net |
#define eprintf | ( | ... | ) | { fprintf(stderr, ##__VA_ARGS__); } |
Definition at line 12 of file transport.h.
#define HAVE_EPRINTF 1 |
Definition at line 14 of file transport.h.
#define KD_IO_NET 1 |
Definition at line 18 of file transport.h.
#define KD_IO_PIPE 0 |
Definition at line 17 of file transport.h.
typedef struct io_backend_t io_backend_t |
anonymous enum |
io_desc_t* io_desc_new | ( | io_backend_t * | iob, |
void * | fp | ||
) |
Definition at line 37 of file transport.c.
References buf_len, desc, done, E_NOIF, lock(), NULL, rz_th_lock_enter(), rz_th_lock_leave(), and rz_th_lock_new().
Referenced by kd_read_packet().
Definition at line 16 of file transport.c.
References buf_len, desc, done, E_NOIF, lock(), NULL, rz_th_lock_enter(), rz_th_lock_leave(), and rz_th_lock_new().
Referenced by kd_send_ctrl_packet(), kd_send_data_packet(), winkd_break(), and winkd_sync().
|
extern |
|
extern |
Definition at line 130 of file iob_pipe.c.
Referenced by __open().