Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
void | on_read (uv_fs_t *req) |
void | on_write (uv_fs_t *req) |
void | on_open (uv_fs_t *req) |
int | main (int argc, char **argv) |
Variables | |
uv_fs_t | open_req |
uv_fs_t | read_req |
uv_fs_t | write_req |
static char | buffer [1024] |
static uv_buf_t | iov |
Definition at line 55 of file main.c.
References argv, O_RDONLY, on_open(), open_req, read_req, uv_default_loop(), uv_fs_open(), uv_fs_req_cleanup(), uv_run(), UV_RUN_DEFAULT, and write_req.
void on_open | ( | uv_fs_t * | req | ) |
Definition at line 41 of file main.c.
References assert(), iov, on_read(), open_req, read_req, req, uv_buf_init(), uv_default_loop(), uv_fs_read(), and uv_strerror().
Referenced by main().
void on_read | ( | uv_fs_t * | req | ) |
Definition at line 26 of file main.c.
References iov, uv_buf_t::len, NULL, on_write(), open_req, req, uv_fs_s::result, uv_default_loop(), uv_fs_close(), uv_fs_write(), uv_strerror(), and write_req.
void on_write | ( | uv_fs_t * | req | ) |
Definition at line 17 of file main.c.
References iov, on_read(), open_req, read_req, req, uv_fs_s::result, uv_default_loop(), uv_fs_read(), and uv_strerror().
Referenced by on_read().
|
static |
Definition at line 15 of file main.c.
Referenced by linux_reg_read(), on_open(), on_read(), on_write(), uv__preadv(), uv__pwritev(), and uv__write().
uv_fs_t open_req |
uv_fs_t read_req |
Definition at line 10 of file main.c.
Referenced by main(), on_open(), and on_write().