Rizin
unix-like reverse engineering framework and cli tools
|
Iterator to get information about Blocks and Streams. More...
#include <index.h>
struct { ... } lzma_index_iter::block |
Referenced by index_encode(), and is_equal().
lzma_vli lzma_index_iter::block_count |
Number of Blocks in the Stream.
If this is zero, the block structure below has undefined values.
Definition at line 70 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::compressed_file_offset |
Compressed start offset of this Block.
This offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file). Normally this is where you should seek in the .xz file to start decompressing this Block.
Definition at line 132 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::compressed_offset |
Compressed start offset of this Stream.
The offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).
Definition at line 78 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::compressed_size |
lzma_vli lzma_index_iter::compressed_stream_offset |
Compressed start offset of this Block.
This offset is relative to the beginning of the Stream containing this Block.
Definition at line 162 of file index.h.
Referenced by is_equal().
const lzma_stream_flags* lzma_index_iter::flags |
union { ... } lzma_index_iter::internal[6] |
lzma_vli lzma_index_iter::number |
Stream number in the lzma_index.
The first Stream is 1.
Definition at line 62 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::number_in_file |
Block number in the file.
The first Block is 1.
Definition at line 122 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::number_in_stream |
Block number in this Stream.
The first Block is 1.
Definition at line 154 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::padding |
struct { ... } lzma_index_iter::stream |
Referenced by is_equal().
lzma_vli lzma_index_iter::total_size |
Total compressed size.
This includes all headers and padding in this Block. This is useful if you need to know how many bytes the Block decoder will actually read.
Definition at line 197 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::uncompressed_file_offset |
Uncompressed start offset of this Block.
This offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).
When doing random-access reading, it is possible that the target offset is not exactly at Block boundary. One will need to compare the target offset against uncompressed_file_offset or uncompressed_stream_offset, and possibly decode and throw away some amount of data before reaching the target offset.
Definition at line 147 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::uncompressed_offset |
Uncompressed start offset of this Stream.
The offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).
Definition at line 86 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::uncompressed_size |
Uncompressed size of this Stream.
Uncompressed size of this Block.
You should pass this to the Block decoder if you will decode this Block. It will allow the Block decoder to validate the uncompressed size.
Definition at line 99 of file index.h.
Referenced by index_encode(), and is_equal().
lzma_vli lzma_index_iter::uncompressed_stream_offset |
Uncompressed start offset of this Block.
This offset is relative to the beginning of the Stream containing this Block.
Definition at line 170 of file index.h.
Referenced by is_equal().
lzma_vli lzma_index_iter::unpadded_size |
Unpadded size of this Block.
You should pass this to the Block decoder if you will decode this Block. It will allow the Block decoder to validate the unpadded size.
Definition at line 188 of file index.h.
Referenced by index_encode(), and is_equal().