Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | buf_io_priv |
Typedefs | |
typedef RzIOBind * | BufIOUser |
typedef struct buf_io_priv | BufIOPriv |
Functions | |
static bool | buf_io_init (RzBuffer *b, const void *user) |
static bool | buf_io_fini (RzBuffer *b) |
static st64 | buf_io_seek (RzBuffer *b, st64 addr, int whence) |
static st64 | buf_io_read (RzBuffer *b, ut8 *buf, ut64 len) |
static st64 | buf_io_write (RzBuffer *b, const ut8 *buf, ut64 len) |
Variables | |
static const RzBufferMethods | buffer_io_methods |
typedef struct buf_io_priv BufIOPriv |
Definition at line 14 of file buf_io.c.
References b, buf_io_priv::iob, buf_io_priv::offset, RZ_NEW, and rz_return_val_if_fail.
Definition at line 40 of file buf_io.c.
References b, INT_MAX, rz_io_bind_t::io, buf_io_priv::iob, len, buf_io_priv::offset, r, rz_io_bind_t::read_at, and RZ_MIN.
Definition at line 32 of file buf_io.c.
References addr, b, buf_io_priv::offset, RZ_MIN, rz_seek_offset(), and ST64_MAX.
Definition at line 47 of file buf_io.c.
References b, INT_MAX, rz_io_bind_t::io, buf_io_priv::iob, len, buf_io_priv::offset, r, RZ_MIN, and rz_io_bind_t::write_at.
|
static |
Definition at line 54 of file buf_io.c.
Referenced by new_buffer().