Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | SET_BINARY_MODE(file) |
#define | CHUNK 16384 |
Functions | |
int | def (FILE *source, FILE *dest, int level) |
int | inf (FILE *source, FILE *dest) |
void | zerr (int ret) |
int | main (int argc, char **argv) |
Definition at line 36 of file zpipe.c.
References assert(), lzma_stream::avail_in, lzma_stream::avail_out, CHUNK, deflate(), deflateEnd(), deflateInit, dest, in, level, lzma_stream::next_in, lzma_stream::next_out, out, source, strm, Z_ERRNO, Z_FINISH, Z_NO_FLUSH, Z_NULL, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
Referenced by __show_status_yesno(), _zip_ef_clone(), getArg(), main(), parse_attr_value(), parse_def(), parse_offset(), parse_type(), partcompress(), recompress(), rz_cmd_alias(), rz_cons_yesno(), rz_lang_def_free(), rz_lang_define(), rz_lang_prompt(), rz_lang_undef(), rz_reg_profile_def_free(), rz_reg_set_profile_string(), rz_reg_set_reg_profile(), and wasm_dis().
int inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 92 of file zpipe.c.
References assert(), lzma_stream::avail_in, lzma_stream::avail_out, CHUNK, dest, in, inflate(), inflateEnd(), inflateInit, lzma_stream::next_in, lzma_stream::next_out, out, source, strm, Z_DATA_ERROR, Z_ERRNO, Z_MEM_ERROR, Z_NEED_DICT, Z_NO_FLUSH, Z_NULL, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
Referenced by init_debug_info(), main(), recompress(), rz_bin_dwarf_debug_info_free(), rz_core_bin_dwarf_print_debug_info(), and rz_core_bin_load().
Definition at line 176 of file zpipe.c.
References argv, def(), inf(), SET_BINARY_MODE, Z_DEFAULT_COMPRESSION, Z_OK, and zerr().
void zerr | ( | int | ret | ) |
Definition at line 151 of file zpipe.c.
References Z_DATA_ERROR, Z_ERRNO, Z_MEM_ERROR, Z_STREAM_ERROR, and Z_VERSION_ERROR.
Referenced by main().