Rizin
unix-like reverse engineering framework and cli tools
|
Public Types | |
enum | { SEQ_NORMALIZE , SEQ_IS_MATCH , seq_8 =(SEQ_LITERAL) , seq_8 =(SEQ_LITERAL) , SEQ_LITERAL_WRITE , SEQ_IS_REP , seq_len =(SEQ_MATCH_LEN) , seq_6 =(SEQ_DIST_SLOT) , SEQ_DIST_MODEL , SEQ_DIRECT , seq_4 =(SEQ_ALIGN) , SEQ_EOPM , SEQ_IS_REP0 , SEQ_SHORTREP , SEQ_IS_REP0_LONG , SEQ_IS_REP1 , SEQ_IS_REP2 , seq_len =(SEQ_MATCH_LEN) , SEQ_COPY } |
Position where to continue the decoder loop. More... | |
Definition at line 170 of file lzma_decoder.c.
anonymous enum |
Position where to continue the decoder loop.
Definition at line 246 of file lzma_decoder.c.
probability lzma_lzma1_decoder::dist_slot[DIST_STATES][DIST_SLOTS] |
Probability tree for the highest two bits of the match distance. There is a separate probability tree for match lengths of 2 (i.e. MATCH_LEN_MIN), 3, 4, and [5, 273].
Definition at line 202 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_match[STATES][POS_STATES_MAX] |
If 1, it's a match. Otherwise it's a single 8-bit literal.
Definition at line 179 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_rep[STATES] |
If 1, it's a repeated match. The distance is one of rep0 .. rep3.
Definition at line 182 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_rep0[STATES] |
If 0, distance of a repeated match is rep0. Otherwise check is_rep1.
Definition at line 186 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_rep0_long[STATES][POS_STATES_MAX] |
If 1, the repeated match has length of one byte. Otherwise the length is decoded from rep_len_decoder.
Definition at line 197 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_rep1[STATES] |
If 0, distance of a repeated match is rep1. Otherwise check is_rep2.
Definition at line 190 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::is_rep2[STATES] |
If 0, distance of a repeated match is rep2. Otherwise it is rep3.
Definition at line 193 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::len |
If decoding a literal: match byte. If decoding a match: length of the match.
Definition at line 285 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::limit |
Used as a loop termination condition on bittree decoders and direct bits decoder.
Definition at line 277 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::literal[LITERAL_CODERS_MAX][LITERAL_CODER_SIZE] |
Literals; see comments in lzma_common.h.
Definition at line 176 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::literal_context_bits |
Definition at line 234 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::literal_pos_mask |
Definition at line 235 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
lzma_length_decoder lzma_lzma1_decoder::match_len_decoder |
Length of a normal match.
Definition at line 213 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::offset |
Matched literal decoder: 0x100 or 0 to help avoiding branches. Bittree reverse decoders: Offset of the next bit: 1 << offset
Definition at line 281 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::pos_align[ALIGN_SIZE] |
Probability tree for the lowest four bits of a match distance that is equal to or greater than 128.
Definition at line 210 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::pos_mask |
Definition at line 233 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability lzma_lzma1_decoder::pos_special[FULL_DISTANCES - DIST_MODEL_END] |
Probability trees for additional bits for match distance when the distance is in the range [4, 127].
Definition at line 206 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
probability* lzma_lzma1_decoder::probs |
Base of the current probability tree.
Definition at line 269 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
lzma_range_decoder lzma_lzma1_decoder::rc |
Definition at line 223 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::rep0 |
Distance of the latest match.
Definition at line 228 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::rep1 |
Distance of second latest match.
Definition at line 229 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::rep2 |
Distance of third latest match.
Definition at line 230 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::rep3 |
Distance of fourth latest match.
Definition at line 231 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
lzma_length_decoder lzma_lzma1_decoder::rep_len_decoder |
Length of a repeated match.
Definition at line 216 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
enum { ... } lzma_lzma1_decoder::sequence |
Position where to continue the decoder loop.
Referenced by lzma_decoder_reset().
lzma_lzma_state lzma_lzma1_decoder::state |
Definition at line 226 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
uint32_t lzma_lzma1_decoder::symbol |
Symbol being decoded. This is also used as an index variable in bittree decoders: probs[symbol]
Definition at line 273 of file lzma_decoder.c.
Referenced by lzma_decoder_reset().
lzma_vli lzma_lzma1_decoder::uncompressed_size |
Uncompressed size as bytes, or LZMA_VLI_UNKNOWN if end of payload marker is expected.
Definition at line 239 of file lzma_decoder.c.
Referenced by lzma_decoder_uncompressed().