Rizin
unix-like reverse engineering framework and cli tools
|
Decoder for LZMA_Alone files. More...
Go to the source code of this file.
Classes | |
struct | lzma_alone_coder |
Functions | |
static lzma_ret | alone_decode (void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) |
static void | alone_decoder_end (void *coder_ptr, const lzma_allocator *allocator) |
static lzma_ret | alone_decoder_memconfig (void *coder_ptr, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) |
lzma_ret | lzma_alone_decoder_init (lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, bool picky) |
LZMA_API (lzma_ret) | |
Decoder for LZMA_Alone files.
Definition in file alone_decoder.c.
|
static |
Definition at line 53 of file alone_decoder.c.
References test-lz4-speed::action, allocator, lzma_next_coder_s::code, lzma_next_coder_s::coder, d, lzma_options_lzma::dict_size, filters, in, in_pos, in_size, LZMA_FORMAT_ERROR, lzma_lz_decoder_uncompressed(), lzma_lzma_decoder_init(), lzma_lzma_decoder_memusage(), lzma_lzma_lclppb_decode(), LZMA_MEMLIMIT_ERROR, LZMA_MEMUSAGE_BASE, lzma_next_filter_init(), LZMA_OK, LZMA_PROG_ERROR, LZMA_VLI_C, LZMA_VLI_UNKNOWN, lzma_alone_coder::memlimit, lzma_alone_coder::memusage, lzma_alone_coder::next, NULL, lzma_alone_coder::options, out, out_pos, lzma_alone_coder::picky, lzma_alone_coder::pos, lzma_alone_coder::sequence, UINT32_MAX, and lzma_alone_coder::uncompressed_size.
Referenced by lzma_alone_decoder_init().
|
static |
Definition at line 170 of file alone_decoder.c.
References allocator, lzma_free(), lzma_next_end(), and lzma_alone_coder::next.
Referenced by lzma_alone_decoder_init().
|
static |
Definition at line 180 of file alone_decoder.c.
References LZMA_MEMLIMIT_ERROR, LZMA_OK, lzma_alone_coder::memlimit, and lzma_alone_coder::memusage.
Referenced by lzma_alone_decoder_init().
lzma_ret lzma_alone_decoder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
uint64_t | memlimit, | ||
bool | picky | ||
) |
Definition at line 200 of file alone_decoder.c.
References allocator, alone_decode(), alone_decoder_end(), alone_decoder_memconfig(), lzma_next_coder_s::code, lzma_next_coder_s::coder, lzma_options_lzma::dict_size, lzma_next_coder_s::end, lzma_alloc(), LZMA_MEM_ERROR, LZMA_MEMUSAGE_BASE, LZMA_NEXT_CODER_INIT, lzma_next_coder_init, LZMA_OK, lzma_next_coder_s::memconfig, memlimit, lzma_alone_coder::memlimit, lzma_alone_coder::memusage, my_max, lzma_alone_coder::next, NULL, lzma_alone_coder::options, lzma_alone_coder::picky, lzma_alone_coder::pos, lzma_options_lzma::preset_dict, lzma_options_lzma::preset_dict_size, lzma_alone_coder::sequence, and lzma_alone_coder::uncompressed_size.
Referenced by auto_decode(), and LZMA_API().
LZMA_API | ( | lzma_ret | ) |
Definition at line 233 of file alone_decoder.c.
References lzma_stream::internal, lzma_alone_decoder_init(), LZMA_FINISH, lzma_next_strm_init, LZMA_OK, LZMA_RUN, memlimit, strm, and lzma_internal_s::supported_actions.