Rizin
unix-like reverse engineering framework and cli tools
|
Options for BCJ filters. More...
#include <bcj.h>
Public Attributes | |
uint32_t | start_offset |
Start offset for conversions. More... | |
Options for BCJ filters.
The BCJ filters never change the size of the data. Specifying options for them is optional: if pointer to options is NULL, default value is used. You probably never need to specify options to BCJ filters, so just set the options pointer to NULL and be happy.
If options with non-default values have been specified when encoding, the same options must also be specified when decoding.
uint32_t lzma_options_bcj::start_offset |
Start offset for conversions.
This setting is useful only when the same filter is used separately for multiple sections of the same executable file, and the sections contain cross-section branch/call/jump instructions. In that case it is beneficial to set the start offset of the non-first sections so that the relative addresses of the cross-section branch/call/jump instructions will use the same absolute addresses as in the first section.
When the pointer to options is NULL, the default value (zero) is used.
Definition at line 88 of file bcj.h.
Referenced by lzma_simple_coder_init(), lzma_simple_props_decode(), lzma_simple_props_encode(), lzma_simple_props_size(), message_filters_to_str(), and set_bcj().