Rizin
unix-like reverse engineering framework and cli tools
lzma_block_coder Struct Reference

Public Types

enum  { SEQ_CODE , SEQ_PADDING , SEQ_CHECK }
 
enum  { SEQ_CODE , SEQ_PADDING , SEQ_CHECK }
 

Public Attributes

enum lzma_block_coder:: { ... }  sequence
 
lzma_next_coder next
 The filters in the chain; initialized with lzma_raw_decoder_init(). More...
 
lzma_blockblock
 
lzma_vli compressed_size
 Compressed Size calculated while decoding. More...
 
lzma_vli uncompressed_size
 Uncompressed Size calculated while decoding. More...
 
lzma_vli compressed_limit
 
size_t check_pos
 Position when reading the Check field. More...
 
lzma_check_state check
 Check of the uncompressed data. More...
 
bool ignore_check
 True if the integrity check won't be calculated and verified. More...
 
enum lzma_block_coder:: { ... }  sequence
 
size_t pos
 Position in the Check field. More...
 

Detailed Description

Definition at line 18 of file block_decoder.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SEQ_CODE 
SEQ_PADDING 
SEQ_CHECK 

Definition at line 19 of file block_decoder.c.

19  {
20  SEQ_CODE,
22  SEQ_CHECK,
23  } sequence;
enum lzma_block_coder::@643 sequence

◆ anonymous enum

anonymous enum
Enumerator
SEQ_CODE 
SEQ_PADDING 
SEQ_CHECK 

Definition at line 27 of file block_encoder.c.

27  {
28  SEQ_CODE,
30  SEQ_CHECK,
31  } sequence;

Member Data Documentation

◆ block

lzma_block * lzma_block_coder::block

Decoding options; we also write Compressed Size and Uncompressed Size back to this structure when the decoding has been finished.

Encoding options; we also write Unpadded Size, Compressed Size, and Uncompressed Size back to this structure when the encoding has been finished.

Definition at line 30 of file block_decoder.c.

Referenced by block_decode(), block_encode(), lzma_block_decoder_init(), and lzma_block_encoder_init().

◆ check

lzma_check_state lzma_block_coder::check

Check of the uncompressed data.

Definition at line 47 of file block_decoder.c.

Referenced by block_decode(), block_encode(), lzma_block_decoder_init(), and lzma_block_encoder_init().

◆ check_pos

size_t lzma_block_coder::check_pos

Position when reading the Check field.

Definition at line 44 of file block_decoder.c.

Referenced by block_decode(), and lzma_block_decoder_init().

◆ compressed_limit

lzma_vli lzma_block_coder::compressed_limit

Maximum allowed Compressed Size; this takes into account the size of the Block Header and Check fields when Compressed Size is unknown.

Definition at line 41 of file block_decoder.c.

Referenced by block_decode(), and lzma_block_decoder_init().

◆ compressed_size

lzma_vli lzma_block_coder::compressed_size

Compressed Size calculated while decoding.

Compressed Size calculated while encoding.

Definition at line 33 of file block_decoder.c.

Referenced by block_decode(), block_encode(), lzma_block_decoder_init(), and lzma_block_encoder_init().

◆ ignore_check

bool lzma_block_coder::ignore_check

True if the integrity check won't be calculated and verified.

Definition at line 50 of file block_decoder.c.

Referenced by block_decode(), and lzma_block_decoder_init().

◆ next

lzma_next_coder lzma_block_coder::next

◆ pos

size_t lzma_block_coder::pos

Position in the Check field.

Definition at line 40 of file block_encoder.c.

Referenced by cmd_descs_generate.CmdDesc::_validate(), block_encode(), and lzma_block_encoder_init().

◆  [1/2]

enum { ... } lzma_block_coder::sequence

◆  [2/2]

enum { ... } lzma_block_coder::sequence

◆ uncompressed_size

lzma_vli lzma_block_coder::uncompressed_size

Uncompressed Size calculated while decoding.

Uncompressed Size calculated while encoding.

Definition at line 36 of file block_decoder.c.

Referenced by block_decode(), block_encode(), lzma_block_decoder_init(), and lzma_block_encoder_init().


The documentation for this struct was generated from the following files: