#[repr(C)]pub struct CompilationOptions {
pub flags: u32,
pub hooks: HostIrHooks,
pub userdata_types: *const *const c_char,
pub record_counters: bool,
pub nop_padding: bool,
}Fields§
§flags: u32§hooks: HostIrHooks§userdata_types: *const *const c_charnull-terminated array of userdata types names that might have custom lowering
record_counters: bool§nop_padding: boolWhen true, random NOP sleds are inserted between blocks to make intra-function gadget offsets unpredictable.
Trait Implementations§
Source§impl Clone for CompilationOptions
impl Clone for CompilationOptions
Source§fn clone(&self) -> CompilationOptions
fn clone(&self) -> CompilationOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompilationOptions
impl Debug for CompilationOptions
Auto Trait Implementations§
impl !Send for CompilationOptions
impl !Sync for CompilationOptions
impl Freeze for CompilationOptions
impl RefUnwindSafe for CompilationOptions
impl Unpin for CompilationOptions
impl UnsafeUnpin for CompilationOptions
impl UnwindSafe for CompilationOptions
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