Struct lldb_sys::LaunchFlags
[−]
#[repr(C)]pub struct LaunchFlags { /* fields omitted */ }
Methods
impl LaunchFlags
const EXEC: LaunchFlags
EXEC: LaunchFlags = LaunchFlags{bits: 1,}
Exec when launching and turn the calling process into a new process.
const DEBUG: LaunchFlags
DEBUG: LaunchFlags = LaunchFlags{bits: 2,}
Stop as soon as the process launches to allow the process to be debugged.
const STOP_AT_ENTRY: LaunchFlags
STOP_AT_ENTRY: LaunchFlags = LaunchFlags{bits: 4,}
Stop at the program entry point instead of auto-continuing when launching or attaching at entry point.
const DISABLE_ASLR: LaunchFlags
DISABLE_ASLR: LaunchFlags = LaunchFlags{bits: 8,}
Disable address space layout randomization (ASLR).
const DISABLE_STDIO: LaunchFlags
DISABLE_STDIO: LaunchFlags = LaunchFlags{bits: 16,}
Disable stdio for the inferior process (e.g. for a GUI app).
const LAUNCH_IN_TTY: LaunchFlags
LAUNCH_IN_TTY: LaunchFlags = LaunchFlags{bits: 32,}
Launch the process in a new TTY if supported by the host.
const LAUNCH_IN_SHELL: LaunchFlags
LAUNCH_IN_SHELL: LaunchFlags = LaunchFlags{bits: 64,}
Launch the process inside a shell to get shell expansion.
const LAUNCH_IN_SEPARATE_PROCESS_GROUP: LaunchFlags
LAUNCH_IN_SEPARATE_PROCESS_GROUP: LaunchFlags = LaunchFlags{bits: 128,}
Launch the process in a separate process group.
const DONT_SET_EXIT_STATUS: LaunchFlags
DONT_SET_EXIT_STATUS: LaunchFlags = LaunchFlags{bits: 256,}
If you are going to hand the process off (e.g. to debugserver), set this flag so that lldb and the handee don't race to set its exit status.
const DETACH_ON_ERRROR: LaunchFlags
DETACH_ON_ERRROR: LaunchFlags = LaunchFlags{bits: 512,}
If set, then the client stub should detach rather than killing the debugee.
const SHELL_EXPAND_ARGUMENTS: LaunchFlags
SHELL_EXPAND_ARGUMENTS: LaunchFlags = LaunchFlags{bits: 1024,}
Perform shell-style argument expansion.
const CLOSE_TTY_ON_EXIT: LaunchFlags
CLOSE_TTY_ON_EXIT: LaunchFlags = LaunchFlags{bits: 2048,}
Close the open TTY on exit.
fn empty() -> LaunchFlags
Returns an empty set of flags.
fn all() -> LaunchFlags
Returns the set containing all flags.
fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
fn from_bits(bits: u32) -> Option<LaunchFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: u32) -> LaunchFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
fn is_all(&self) -> bool
Returns true
if all flags are currently set.
fn intersects(&self, other: LaunchFlags) -> bool
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: LaunchFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: LaunchFlags)
Inserts the specified flags in-place.
fn remove(&mut self, other: LaunchFlags)
Removes the specified flags in-place.
fn toggle(&mut self, other: LaunchFlags)
Toggles the specified flags in-place.
fn set(&mut self, other: LaunchFlags, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Copy for LaunchFlags
impl PartialEq for LaunchFlags
fn eq(&self, __arg_0: &LaunchFlags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LaunchFlags) -> bool
This method tests for !=
.
impl Eq for LaunchFlags
impl Clone for LaunchFlags
fn clone(&self) -> LaunchFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialOrd for LaunchFlags
fn partial_cmp(&self, __arg_0: &LaunchFlags) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &LaunchFlags) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &LaunchFlags) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &LaunchFlags) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &LaunchFlags) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for LaunchFlags
fn cmp(&self, __arg_0: &LaunchFlags) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the minimum of two values. Read more
impl Hash for LaunchFlags
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for LaunchFlags
impl Binary for LaunchFlags
impl Octal for LaunchFlags
impl LowerHex for LaunchFlags
impl UpperHex for LaunchFlags
impl BitOr for LaunchFlags
type Output = LaunchFlags
The resulting type after applying the |
operator.
fn bitor(self, other: LaunchFlags) -> LaunchFlags
Returns the union of the two sets of flags.
impl BitOrAssign for LaunchFlags
fn bitor_assign(&mut self, other: LaunchFlags)
Adds the set of flags.
impl BitXor for LaunchFlags
type Output = LaunchFlags
The resulting type after applying the ^
operator.
fn bitxor(self, other: LaunchFlags) -> LaunchFlags
Returns the left flags, but with all the right flags toggled.
impl BitXorAssign for LaunchFlags
fn bitxor_assign(&mut self, other: LaunchFlags)
Toggles the set of flags.
impl BitAnd for LaunchFlags
type Output = LaunchFlags
The resulting type after applying the &
operator.
fn bitand(self, other: LaunchFlags) -> LaunchFlags
Returns the intersection between the two sets of flags.
impl BitAndAssign for LaunchFlags
fn bitand_assign(&mut self, other: LaunchFlags)
Disables all flags disabled in the set.
impl Sub for LaunchFlags
type Output = LaunchFlags
The resulting type after applying the -
operator.
fn sub(self, other: LaunchFlags) -> LaunchFlags
Returns the set difference of the two sets of flags.
impl SubAssign for LaunchFlags
fn sub_assign(&mut self, other: LaunchFlags)
Disables all flags enabled in the set.
impl Not for LaunchFlags
type Output = LaunchFlags
The resulting type after applying the !
operator.
fn not(self) -> LaunchFlags
Returns the complement of this set of flags.
impl Extend<LaunchFlags> for LaunchFlags
fn extend<T: IntoIterator<Item = LaunchFlags>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read more
impl FromIterator<LaunchFlags> for LaunchFlags
fn from_iter<T: IntoIterator<Item = LaunchFlags>>(iterator: T) -> LaunchFlags
Creates a value from an iterator. Read more