Enum capstone_sys::cs_opt_type
source · #[repr(u32)]pub enum cs_opt_type {
CS_OPT_INVALID = 0,
CS_OPT_SYNTAX = 1,
CS_OPT_DETAIL = 2,
CS_OPT_MODE = 3,
CS_OPT_MEM = 4,
CS_OPT_SKIPDATA = 5,
CS_OPT_SKIPDATA_SETUP = 6,
CS_OPT_MNEMONIC = 7,
CS_OPT_UNSIGNED = 8,
}
Expand description
Runtime option for the disassembled engine
Variants§
CS_OPT_INVALID = 0
< No option specified
CS_OPT_SYNTAX = 1
< Assembly output syntax
CS_OPT_DETAIL = 2
< Break down instruction structure into details
CS_OPT_MODE = 3
< Change engine’s mode at run-time
CS_OPT_MEM = 4
< User-defined dynamic memory related functions
CS_OPT_SKIPDATA = 5
< Skip data when disassembling. Then engine is in SKIPDATA mode.
CS_OPT_SKIPDATA_SETUP = 6
< Setup user-defined function for SKIPDATA option
CS_OPT_MNEMONIC = 7
< Customize instruction mnemonic
CS_OPT_UNSIGNED = 8
< print immediate operands in unsigned form
Trait Implementations§
source§impl Clone for cs_opt_type
impl Clone for cs_opt_type
source§fn clone(&self) -> cs_opt_type
fn clone(&self) -> cs_opt_type
Returns a copy of the value. Read more
1.0.0 · 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 cs_opt_type
impl Debug for cs_opt_type
source§impl Hash for cs_opt_type
impl Hash for cs_opt_type
source§impl PartialEq for cs_opt_type
impl PartialEq for cs_opt_type
source§fn eq(&self, other: &cs_opt_type) -> bool
fn eq(&self, other: &cs_opt_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cs_opt_type
impl Eq for cs_opt_type
impl StructuralPartialEq for cs_opt_type
Auto Trait Implementations§
impl RefUnwindSafe for cs_opt_type
impl Send for cs_opt_type
impl Sync for cs_opt_type
impl Unpin for cs_opt_type
impl UnwindSafe for cs_opt_type
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