Rizin
unix-like reverse engineering framework and cli tools
|
Public Types | |
enum | sequence { SEQ_CONTROL , SEQ_UNCOMPRESSED_1 , SEQ_UNCOMPRESSED_2 , SEQ_COMPRESSED_0 , SEQ_COMPRESSED_1 , SEQ_PROPERTIES , SEQ_LZMA , SEQ_COPY } |
enum | { SEQ_INIT , SEQ_LZMA_ENCODE , SEQ_LZMA_COPY , SEQ_UNCOMPRESSED_HEADER , SEQ_UNCOMPRESSED_COPY } |
Public Attributes | |
enum lzma_lzma2_coder::sequence | sequence |
enum sequence | next_sequence |
Sequence after the size fields have been decoded. More... | |
lzma_lz_decoder | lzma |
LZMA decoder. More... | |
size_t | uncompressed_size |
Uncompressed size of LZMA chunk. More... | |
size_t | compressed_size |
bool | need_properties |
bool | need_dictionary_reset |
lzma_options_lzma | options |
enum lzma_lzma2_coder:: { ... } | sequence |
void * | lzma |
LZMA encoder. More... | |
lzma_options_lzma | opt_cur |
LZMA options currently in use. More... | |
bool | need_state_reset |
size_t | buf_pos |
Read position in buf[]. More... | |
uint8_t | buf [LZMA2_HEADER_MAX+LZMA2_CHUNK_MAX] |
Buffer to hold the chunk header and LZMA compressed data. More... | |
Definition at line 19 of file lzma2_decoder.c.
anonymous enum |
Enumerator | |
---|---|
SEQ_INIT | |
SEQ_LZMA_ENCODE | |
SEQ_LZMA_COPY | |
SEQ_UNCOMPRESSED_HEADER | |
SEQ_UNCOMPRESSED_COPY |
Definition at line 21 of file lzma2_encoder.c.
Enumerator | |
---|---|
SEQ_CONTROL | |
SEQ_UNCOMPRESSED_1 | |
SEQ_UNCOMPRESSED_2 | |
SEQ_COMPRESSED_0 | |
SEQ_COMPRESSED_1 | |
SEQ_PROPERTIES | |
SEQ_LZMA | |
SEQ_COPY |
Definition at line 20 of file lzma2_decoder.c.
uint8_t lzma_lzma2_coder::buf[LZMA2_HEADER_MAX+LZMA2_CHUNK_MAX] |
Buffer to hold the chunk header and LZMA compressed data.
Definition at line 50 of file lzma2_encoder.c.
Referenced by lzma2_header_lzma(), and lzma2_header_uncompressed().
size_t lzma_lzma2_coder::buf_pos |
Read position in buf[].
Definition at line 47 of file lzma2_encoder.c.
Referenced by lzma2_header_lzma(), and lzma2_header_uncompressed().
size_t lzma_lzma2_coder::compressed_size |
Compressed size of the chunk (naturally equals to uncompressed size of uncompressed chunk)
Compressed size of a chunk (excluding headers); this is also used to indicate the end of buf[] in SEQ_LZMA_COPY.
Definition at line 42 of file lzma2_decoder.c.
Referenced by lzma2_header_lzma().
lzma_lz_decoder lzma_lzma2_coder::lzma |
LZMA decoder.
Definition at line 35 of file lzma2_decoder.c.
Referenced by lzma2_decoder_end(), lzma2_decoder_init(), lzma2_encoder_end(), and lzma2_encoder_init().
void* lzma_lzma2_coder::lzma |
LZMA encoder.
Definition at line 30 of file lzma2_encoder.c.
bool lzma_lzma2_coder::need_dictionary_reset |
True if dictionary reset is needed. This is false before the first chunk (LZMA or uncompressed).
Definition at line 50 of file lzma2_decoder.c.
Referenced by lzma2_decoder_init(), lzma2_encoder_init(), lzma2_header_lzma(), and lzma2_header_uncompressed().
bool lzma_lzma2_coder::need_properties |
True if properties are needed. This is false before the first LZMA chunk.
Definition at line 46 of file lzma2_decoder.c.
Referenced by lzma2_decoder_init(), lzma2_encoder_init(), lzma2_encoder_options_update(), and lzma2_header_lzma().
bool lzma_lzma2_coder::need_state_reset |
Definition at line 36 of file lzma2_encoder.c.
Referenced by lzma2_encoder_init(), lzma2_encoder_options_update(), and lzma2_header_lzma().
enum sequence lzma_lzma2_coder::next_sequence |
Sequence after the size fields have been decoded.
Definition at line 278 of file lzma2_decoder.c.
lzma_options_lzma lzma_lzma2_coder::opt_cur |
LZMA options currently in use.
Definition at line 33 of file lzma2_encoder.c.
Referenced by lzma2_encoder_init(), lzma2_encoder_options_update(), and lzma2_header_lzma().
lzma_options_lzma lzma_lzma2_coder::options |
Definition at line 52 of file lzma2_decoder.c.
Referenced by cmd_descs_generate.CmdDesc::__str__().
enum { ... } lzma_lzma2_coder::sequence |
size_t lzma_lzma2_coder::uncompressed_size |
Uncompressed size of LZMA chunk.
Uncompressed size of a chunk.
Definition at line 38 of file lzma2_decoder.c.
Referenced by lzma2_header_lzma(), and lzma2_header_uncompressed().