Rizin
unix-like reverse engineering framework and cli tools
|
Delta filter decoder. More...
Go to the source code of this file.
Functions | |
static void | decode_buffer (lzma_delta_coder *coder, uint8_t *buffer, size_t size) |
static lzma_ret | delta_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) |
lzma_ret | lzma_delta_decoder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters) |
lzma_ret | lzma_delta_props_decode (void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size) |
Delta filter decoder.
Definition in file delta_decoder.c.
|
static |
Definition at line 18 of file delta_decoder.c.
References lzma_delta_coder::distance, lzma_delta_coder::history, i, and lzma_delta_coder::pos.
Referenced by delta_decode().
|
static |
Definition at line 30 of file delta_decoder.c.
References test-lz4-speed::action, allocator, assert(), lzma_next_coder_s::code, lzma_next_coder_s::coder, decode_buffer(), in, in_pos, in_size, lzma_delta_coder::next, NULL, out, and out_pos.
Referenced by lzma_delta_decoder_init().
lzma_ret lzma_delta_decoder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Definition at line 52 of file delta_decoder.c.
References allocator, lzma_next_coder_s::code, delta_decode(), filters, and lzma_delta_coder_init().
lzma_ret lzma_delta_props_decode | ( | void ** | options, |
const lzma_allocator * | allocator, | ||
const uint8_t * | props, | ||
size_t | props_size | ||
) |
Definition at line 61 of file delta_decoder.c.
References allocator, lzma_options_delta::dist, lzma_alloc(), LZMA_DELTA_TYPE_BYTE, LZMA_MEM_ERROR, LZMA_OK, LZMA_OPTIONS_ERROR, NULL, options, props, and lzma_options_delta::type.