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 RelocInfo
s
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
Auto Trait Implementations§
impl RefUnwindSafe for BlockEncoderOptions
impl Send for BlockEncoderOptions
impl Sync for BlockEncoderOptions
impl Unpin for BlockEncoderOptions
impl UnwindSafe for BlockEncoderOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more