Rizin
unix-like reverse engineering framework and cli tools
|
#include "rz_io.h"
#include "rz_lib.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
Go to the source code of this file.
Classes | |
struct | RzIOGzip |
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) |
static int | __write (RzIO *io, RzIODesc *fd, const ut8 *buf, int count) |
static bool | __resize (RzIO *io, RzIODesc *fd, ut64 count) |
static int | __read (RzIO *io, RzIODesc *fd, ut8 *buf, int count) |
static int | __close (RzIODesc *fd) |
static ut64 | __lseek (RzIO *io, RzIODesc *fd, ut64 offset, int whence) |
static bool | __plugin_open (RzIO *io, const char *pathname, bool many) |
static RzIODesc * | __open (RzIO *io, const char *pathname, int rw, int mode) |
Variables | |
RzIOPlugin | rz_io_plugin_gzip |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 123 of file io_gzip.c.
References RzIOGzip::buf, eprintf, fd, and RZ_FREE.
Definition at line 135 of file io_gzip.c.
References _io_malloc_off(), _io_malloc_set_off(), _io_malloc_sz(), fd, SEEK_CUR, SEEK_END, SEEK_SET, and ut64().
Definition at line 160 of file io_gzip.c.
References __plugin_open(), eprintf, free(), len, mal, NULL, pathname, rz_file_slurp(), rz_inflate(), rz_io_desc_new(), rz_io_plugin_gzip, and RZ_NEW0.
Definition at line 107 of file io_gzip.c.
References _io_malloc_buf(), _io_malloc_off(), _io_malloc_sz(), count, fd, memcpy(), and memset().
Definition at line 84 of file io_gzip.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 66 of file io_gzip.c.
References _io_malloc_buf(), _io_malloc_off(), _io_malloc_set_off(), _io_malloc_sz(), count, fd, and memcpy().
RZ_API RzLibStruct rizin_plugin |
RzIOPlugin rz_io_plugin_gzip |
Definition at line 181 of file io_gzip.c.
Referenced by __open().