Rizin
unix-like reverse engineering framework and cli tools
|
#include "io_memory.h"
Go to the source code of this file.
Functions | |
static ut32 | _io_malloc_sz (RzIODesc *desc) |
static void | _io_malloc_set_sz (RzIODesc *desc, ut32 sz) |
static ut8 * | _io_malloc_buf (RzIODesc *desc) |
static ut8 * | _io_malloc_set_buf (RzIODesc *desc, ut8 *buf) |
static ut64 | _io_malloc_off (RzIODesc *desc) |
static void | _io_malloc_set_off (RzIODesc *desc, ut64 off) |
int | io_memory_write (RzIO *io, RzIODesc *fd, const ut8 *buf, int count) |
bool | io_memory_resize (RzIO *io, RzIODesc *fd, ut64 count) |
int | io_memory_read (RzIO *io, RzIODesc *fd, ut8 *buf, int count) |
int | io_memory_close (RzIODesc *fd) |
ut64 | io_memory_lseek (RzIO *io, RzIODesc *fd, ut64 offset, int whence) |
Definition at line 24 of file io_memory.c.
References desc, mal, and NULL.
Referenced by io_memory_read(), io_memory_resize(), and io_memory_write().
Definition at line 40 of file io_memory.c.
Referenced by io_memory_lseek(), io_memory_read(), io_memory_resize(), and io_memory_write().
Definition at line 32 of file io_memory.c.
References desc, mal, and NULL.
Referenced by io_memory_resize().
Definition at line 48 of file io_memory.c.
References desc, mal, and off.
Referenced by io_memory_lseek(), io_memory_read(), and io_memory_write().
Definition at line 14 of file io_memory.c.
References desc, if(), and mal.
Referenced by io_memory_resize().
Definition at line 6 of file io_memory.c.
Referenced by io_memory_lseek(), io_memory_read(), io_memory_resize(), and io_memory_write().
Definition at line 125 of file io_memory.c.
References _io_malloc_off(), _io_malloc_set_off(), _io_malloc_sz(), fd, SEEK_CUR, SEEK_END, SEEK_SET, and ut64().
Definition at line 97 of file io_memory.c.
References _io_malloc_buf(), _io_malloc_off(), _io_malloc_set_off(), _io_malloc_sz(), count, fd, memcpy(), and memset().
Definition at line 74 of file io_memory.c.
References _io_malloc_buf(), _io_malloc_off(), _io_malloc_set_buf(), _io_malloc_set_sz(), _io_malloc_sz(), count, fd, free(), malloc(), memcpy(), memset(), NULL, and RZ_MIN.
Definition at line 56 of file io_memory.c.
References _io_malloc_buf(), _io_malloc_off(), _io_malloc_set_off(), _io_malloc_sz(), count, fd, and memcpy().