Rizin
unix-like reverse engineering framework and cli tools
|
LZMA2 decoder. More...
Go to the source code of this file.
Classes | |
struct | lzma_lzma2_coder |
Functions | |
static lzma_ret | lzma2_decode (void *coder_ptr, lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size) |
static void | lzma2_decoder_end (void *coder_ptr, const lzma_allocator *allocator) |
static lzma_ret | lzma2_decoder_init (lzma_lz_decoder *lz, const lzma_allocator *allocator, const void *opt, lzma_lz_options *lz_options) |
lzma_ret | lzma_lzma2_decoder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters) |
uint64_t | lzma_lzma2_decoder_memusage (const void *options) |
lzma_ret | lzma_lzma2_props_decode (void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size) |
LZMA2 decoder.
Definition in file lzma2_decoder.c.
|
static |
Definition at line 57 of file lzma2_decoder.c.
References assert(), control, dict_reset(), dict_write(), in, in_pos, in_size, LZMA_DATA_ERROR, lzma_lzma_lclppb_decode(), LZMA_OK, LZMA_PROG_ERROR, LZMA_STREAM_END, and restrict.
Referenced by lzma2_decoder_init().
|
static |
Definition at line 214 of file lzma2_decoder.c.
References allocator, assert(), lzma_lz_decoder::coder, lzma_lz_decoder::end, lzma_lzma2_coder::lzma, lzma_free(), and NULL.
Referenced by lzma2_decoder_init().
|
static |
Definition at line 228 of file lzma2_decoder.c.
References allocator, lzma_lz_decoder::code, lzma_lz_decoder::coder, lzma_lz_decoder::end, lzma_lzma2_coder::lzma, lzma2_decode(), lzma2_decoder_end(), lzma_alloc(), LZMA_LZ_DECODER_INIT, lzma_lzma_decoder_create(), LZMA_MEM_ERROR, lzma_lzma2_coder::need_dictionary_reset, lzma_lzma2_coder::need_properties, NULL, and options.
Referenced by lzma_lzma2_decoder_init().
lzma_ret lzma_lzma2_decoder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Definition at line 257 of file lzma2_decoder.c.
References allocator, assert(), filters, init, lzma2_decoder_init(), lzma_lz_decoder_init(), and NULL.
Definition at line 270 of file lzma2_decoder.c.
References lzma_lzma_decoder_memusage_nocheck(), and options.
lzma_ret lzma_lzma2_props_decode | ( | void ** | options, |
const lzma_allocator * | allocator, | ||
const uint8_t * | props, | ||
size_t | props_size | ||
) |
Definition at line 278 of file lzma2_decoder.c.