Struct iced_x86::BlockEncoderOptions
source · pub struct BlockEncoderOptions;Expand description
BlockEncoder options
Implementations§
source§impl BlockEncoderOptions
impl BlockEncoderOptions
sourcepub const DONT_FIX_BRANCHES: u32 = 1u32
pub const DONT_FIX_BRANCHES: u32 = 1u32
By default, branches get updated if the target is too far away, eg. Jcc SHORT -> Jcc NEAR or if 64-bit mode, Jcc + JMP [RIP+mem]. If this option is enabled, no branches are fixed.
sourcepub const RETURN_RELOC_INFOS: u32 = 2u32
pub const RETURN_RELOC_INFOS: u32 = 2u32
The BlockEncoder should return RelocInfos
sourcepub const RETURN_NEW_INSTRUCTION_OFFSETS: u32 = 4u32
pub const RETURN_NEW_INSTRUCTION_OFFSETS: u32 = 4u32
The BlockEncoder should return new instruction offsets
sourcepub const RETURN_CONSTANT_OFFSETS: u32 = 8u32
pub const RETURN_CONSTANT_OFFSETS: u32 = 8u32
The BlockEncoder should return ConstantOffsets