Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | buf_io_fd_user |
struct | buf_io_fd_priv |
Functions | |
static struct buf_io_fd_priv * | get_priv_io (RzBuffer *b) |
static bool | buf_io_fd_init (RzBuffer *b, const void *user) |
static bool | buf_io_fd_fini (RzBuffer *b) |
static st64 | buf_io_fd_seek (RzBuffer *b, st64 addr, int whence) |
static ut64 | buf_io_fd_get_size (RzBuffer *b) |
static bool | buf_io_fd_resize (RzBuffer *b, ut64 newsize) |
static st64 | buf_io_fd_read (RzBuffer *b, ut8 *buf, ut64 len) |
static st64 | buf_io_fd_write (RzBuffer *b, const ut8 *buf, ut64 len) |
static ut8 * | buf_io_fd_get_whole_buf (RzBuffer *b, ut64 *size) |
Variables | |
static const RzBufferMethods | buffer_io_fd_methods |
Definition at line 36 of file buf_io_fd.c.
Definition at line 63 of file buf_io_fd.c.
References b, buf_io_fd_priv::fd, rz_io_bind_t::fd_size, get_priv_io(), rz_io_bind_t::io, and buf_io_fd_priv::iob.
Definition at line 83 of file buf_io_fd.c.
References b, buf_io_fd_priv::fd, rz_io_bind_t::fd_getbuf, get_priv_io(), rz_io_bind_t::io, and buf_io_fd_priv::iob.
Definition at line 23 of file buf_io_fd.c.
References b, buf_io_fd_user::fd, buf_io_fd_priv::fd, buf_io_fd_user::iob, buf_io_fd_priv::iob, and RZ_NEW0.
Definition at line 73 of file buf_io_fd.c.
References b, buf_io_fd_priv::fd, rz_io_bind_t::fd_read, get_priv_io(), rz_io_bind_t::io, buf_io_fd_priv::iob, and len.
Definition at line 68 of file buf_io_fd.c.
References b, buf_io_fd_priv::fd, rz_io_bind_t::fd_resize, get_priv_io(), rz_io_bind_t::io, and buf_io_fd_priv::iob.
Definition at line 42 of file buf_io_fd.c.
References addr, b, buf_io_fd_priv::fd, rz_io_bind_t::fd_seek, get_priv_io(), rz_io_bind_t::io, buf_io_fd_priv::iob, RZ_BUF_CUR, RZ_BUF_END, RZ_BUF_SET, RZ_IO_SEEK_CUR, RZ_IO_SEEK_END, RZ_IO_SEEK_SET, and rz_warn_if_reached.
Definition at line 78 of file buf_io_fd.c.
References b, buf_io_fd_priv::fd, rz_io_bind_t::fd_write, get_priv_io(), rz_io_bind_t::io, buf_io_fd_priv::iob, and len.
|
inlinestatic |
Definition at line 17 of file buf_io_fd.c.
References b, and rz_warn_if_fail.
Referenced by buf_io_fd_get_size(), buf_io_fd_get_whole_buf(), buf_io_fd_read(), buf_io_fd_resize(), buf_io_fd_seek(), and buf_io_fd_write().
|
static |
Definition at line 88 of file buf_io_fd.c.
Referenced by new_buffer().