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

Public Types

enum  {
  SEQ_PROPERTIES , SEQ_DICTIONARY_SIZE , SEQ_UNCOMPRESSED_SIZE , SEQ_CODER_INIT ,
  SEQ_CODE
}
 
enum  { SEQ_HEADER , SEQ_CODE }
 

Public Attributes

lzma_next_coder next
 
enum lzma_alone_coder:: { ... }  sequence
 
bool picky
 
size_t pos
 Position in the header fields. More...
 
lzma_vli uncompressed_size
 Uncompressed size decoded from the header. More...
 
uint64_t memlimit
 Memory usage limit. More...
 
uint64_t memusage
 Amount of memory actually needed (only an estimate) More...
 
lzma_options_lzma options
 
enum lzma_alone_coder:: { ... }  sequence
 
size_t header_pos
 
uint8_t header [ALONE_HEADER_SIZE]
 

Detailed Description

Definition at line 18 of file alone_decoder.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SEQ_PROPERTIES 
SEQ_DICTIONARY_SIZE 
SEQ_UNCOMPRESSED_SIZE 
SEQ_CODER_INIT 
SEQ_CODE 

Definition at line 21 of file alone_decoder.c.

◆ anonymous enum

anonymous enum
Enumerator
SEQ_HEADER 
SEQ_CODE 

Definition at line 23 of file alone_encoder.c.

23  {
24  SEQ_HEADER,
25  SEQ_CODE,
26  } sequence;

Member Data Documentation

◆ header

uint8_t lzma_alone_coder::header[ALONE_HEADER_SIZE]

Definition at line 29 of file alone_encoder.c.

Referenced by alone_encode(), and alone_encoder_init().

◆ header_pos

size_t lzma_alone_coder::header_pos

Definition at line 28 of file alone_encoder.c.

Referenced by alone_encode(), and alone_encoder_init().

◆ memlimit

uint64_t lzma_alone_coder::memlimit

Memory usage limit.

Definition at line 41 of file alone_decoder.c.

Referenced by alone_decode(), alone_decoder_memconfig(), and lzma_alone_decoder_init().

◆ memusage

uint64_t lzma_alone_coder::memusage

Amount of memory actually needed (only an estimate)

Definition at line 44 of file alone_decoder.c.

Referenced by alone_decode(), alone_decoder_memconfig(), and lzma_alone_decoder_init().

◆ next

◆ options

lzma_options_lzma lzma_alone_coder::options

Options decoded from the header needed to initialize the LZMA decoder

Definition at line 48 of file alone_decoder.c.

Referenced by cmd_descs_generate.CmdDesc::__str__(), alone_decode(), and lzma_alone_decoder_init().

◆ picky

bool lzma_alone_coder::picky

If true, reject files that are unlikely to be .lzma files. If false, more non-.lzma files get accepted and will give LZMA_DATA_ERROR either immediately or after a few output bytes.

Definition at line 32 of file alone_decoder.c.

Referenced by alone_decode(), and lzma_alone_decoder_init().

◆ pos

size_t lzma_alone_coder::pos

Position in the header fields.

Definition at line 35 of file alone_decoder.c.

Referenced by cmd_descs_generate.CmdDesc::_validate(), alone_decode(), and lzma_alone_decoder_init().

◆  [1/2]

enum { ... } lzma_alone_coder::sequence

◆  [2/2]

enum { ... } lzma_alone_coder::sequence

◆ uncompressed_size

lzma_vli lzma_alone_coder::uncompressed_size

Uncompressed size decoded from the header.

Definition at line 38 of file alone_decoder.c.

Referenced by alone_decode(), and lzma_alone_decoder_init().


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