Rizin
unix-like reverse engineering framework and cli tools
|
Decodes the Index field. More...
Go to the source code of this file.
Classes | |
struct | lzma_index_coder |
Functions | |
static lzma_ret | index_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 lzma_attribute((__unused__)), size_t *restrict out_pos lzma_attribute((__unused__)), size_t out_size lzma_attribute((__unused__)), lzma_action action lzma_attribute((__unused__))) |
static void | index_decoder_end (void *coder_ptr, const lzma_allocator *allocator) |
static lzma_ret | index_decoder_memconfig (void *coder_ptr, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) |
static lzma_ret | index_decoder_reset (lzma_index_coder *coder, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) |
static lzma_ret | index_decoder_init (lzma_next_coder *next, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) |
LZMA_API (lzma_ret) | |
Decodes the Index field.
Definition in file index_decoder.c.
|
static |
Definition at line 57 of file index_decoder.c.
References allocator, assert(), lzma_index_coder::count, lzma_index_coder::crc32, in, in_pos, in_size, lzma_index_coder::index, lzma_index_coder::index_ptr, LZMA_DATA_ERROR, lzma_index_padding_size(), lzma_index_prealloc(), LZMA_MEMLIMIT_ERROR, LZMA_OK, LZMA_PROG_ERROR, LZMA_STREAM_END, lzma_index_coder::memlimit, NULL, out, lzma_index_coder::pos, return_if_error, lzma_index_coder::sequence, lzma_index_coder::uncompressed_size, lzma_index_coder::unpadded_size, UNPADDED_SIZE_MAX, and UNPADDED_SIZE_MIN.
Referenced by index_decoder_init().
|
static |
Definition at line 212 of file index_decoder.c.
References allocator, lzma_index_coder::index, and lzma_free().
Referenced by index_decoder_init().
|
static |
Definition at line 269 of file index_decoder.c.
References allocator, lzma_next_coder_s::code, lzma_next_coder_s::coder, lzma_next_coder_s::end, i, lzma_index_coder::index, index_decode(), index_decoder_end(), index_decoder_memconfig(), index_decoder_reset(), lzma_alloc(), LZMA_MEM_ERROR, lzma_next_coder_init, LZMA_PROG_ERROR, lzma_next_coder_s::memconfig, memlimit, and NULL.
Referenced by LZMA_API().
|
static |
Definition at line 222 of file index_decoder.c.
References lzma_index_coder::count, LZMA_MEMLIMIT_ERROR, LZMA_OK, and lzma_index_coder::memlimit.
Referenced by index_decoder_init().
|
static |
Definition at line 242 of file index_decoder.c.
References allocator, lzma_index_coder::count, lzma_index_coder::crc32, i, lzma_index_coder::index, lzma_index_coder::index_ptr, LZMA_MEM_ERROR, LZMA_OK, memlimit, lzma_index_coder::memlimit, my_max, NULL, lzma_index_coder::pos, and lzma_index_coder::sequence.
Referenced by index_decoder_init().
LZMA_API | ( | lzma_ret | ) |
Definition at line 296 of file index_decoder.c.
References i, index_decoder_init(), lzma_stream::internal, LZMA_FINISH, lzma_next_strm_init, LZMA_OK, LZMA_RUN, memlimit, strm, and lzma_internal_s::supported_actions.