Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | bin |
Macros | |
#define | local static |
#define | CHUNK 32768 /* must be a power of two and fit in unsigned */ |
#define | bget(in) |
Functions | |
int | bail (char *why1, char *why2) |
void | bclose (bin *in) |
bin * | bopen (char *name) |
int | bload (bin *in) |
unsigned long | bget4 (bin *in) |
void | bskip (bin *in, unsigned skip) |
void | gzhead (bin *in) |
void | put4 (unsigned long val, FILE *out) |
void | zpull (z_streamp strm, bin *in) |
void | gzinit (unsigned long *crc, unsigned long *tot, FILE *out) |
void | gzcopy (char *name, int clr, unsigned long *crc, unsigned long *tot, FILE *out) |
int | main (int argc, char **argv) |
#define bget | ( | in | ) |
int bail | ( | char * | why1, |
char * | why2 | ||
) |
void bclose | ( | bin * | in | ) |
Definition at line 145 of file gzjoin.c.
References bget, in, long, and val.
Referenced by gzcopy().
Definition at line 121 of file gzjoin.c.
References CHUNK, in, len, long, NULL, read(), and unsigned.
bin* bopen | ( | char * | name | ) |
Definition at line 157 of file gzjoin.c.
References bail(), bload(), CHUNK, in, lseek, NULL, read(), SEEK_CUR, and skip().
Referenced by gzhead().
Definition at line 279 of file gzjoin.c.
References lzma_stream::avail_in, lzma_stream::avail_out, bail(), bclose(), bget4(), bopen(), CHUNK, crc32_combine(), free(), gzhead(), in, inflate(), inflateEnd(), inflateInit2, len, long, malloc(), lzma_stream::next_in, lzma_stream::next_out, NULL, out, pos, put4(), start, strm, tot, Z_BLOCK, Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, z_off_t, Z_OK, and zpull().
Referenced by main().
void gzhead | ( | bin * | in | ) |
Definition at line 427 of file gzjoin.c.
Definition at line 254 of file gzjoin.c.
References lzma_stream::avail_in, bail(), bload(), in, lzma_stream::next_in, and strm.
Referenced by gzcopy().