Rizin
unix-like reverse engineering framework and cli tools
|
LZMA decoder API. More...
#include "common.h"
Go to the source code of this file.
Functions | |
lzma_ret | lzma_lzma_decoder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters) |
Allocates and initializes LZMA decoder. More... | |
uint64_t | lzma_lzma_decoder_memusage (const void *options) |
lzma_ret | lzma_lzma_props_decode (void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size) |
bool | lzma_lzma_lclppb_decode (lzma_options_lzma *options, uint8_t byte) |
Decodes the LZMA Properties byte (lc/lp/pb) More... | |
LZMA decoder API.
Definition in file lzma_decoder.h.
lzma_ret lzma_lzma_decoder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Allocates and initializes LZMA decoder.
Definition at line 987 of file lzma_decoder.c.
References allocator, assert(), filters, init, lzma_decoder_init(), lzma_lz_decoder_init(), and NULL.
Referenced by alone_decode().
Definition at line 1025 of file lzma_decoder.c.
References is_lclppb_valid(), lzma_lzma_decoder_memusage_nocheck(), options, and UINT64_MAX.
Referenced by alone_decode().
bool lzma_lzma_lclppb_decode | ( | lzma_options_lzma * | options, |
uint8_t | byte | ||
) |
Decodes the LZMA Properties byte (lc/lp/pb)
Definition at line 1000 of file lzma_decoder.c.
References LZMA_LCLP_MAX, and options.
Referenced by alone_decode(), lzma2_decode(), and lzma_lzma_props_decode().
lzma_ret lzma_lzma_props_decode | ( | void ** | options, |
const lzma_allocator * | allocator, | ||
const uint8_t * | props, | ||
size_t | props_size | ||
) |
Definition at line 1035 of file lzma_decoder.c.
References allocator, lzma_options_lzma::dict_size, error(), lzma_alloc(), lzma_free(), lzma_lzma_lclppb_decode(), LZMA_MEM_ERROR, LZMA_OK, LZMA_OPTIONS_ERROR, NULL, options, lzma_options_lzma::preset_dict, lzma_options_lzma::preset_dict_size, props, and read32le().