pub struct ForkExecPattern {
pub has_fork: bool,
pub has_exec: bool,
pub has_wait: bool,
pub command: Option<String>,
pub args: Vec<String>,
pub pid_var: Option<String>,
}Expand description
Detected fork/exec subprocess pattern.
Fields§
§has_fork: boolWhether fork() was detected
has_exec: boolWhether an exec*() call was detected
has_wait: boolWhether wait*() was detected
command: Option<String>Command path (first arg to exec*)
args: Vec<String>Arguments extracted from exec*()
pid_var: Option<String>Variable holding fork() result
Trait Implementations§
Source§impl Clone for ForkExecPattern
impl Clone for ForkExecPattern
Source§fn clone(&self) -> ForkExecPattern
fn clone(&self) -> ForkExecPattern
Returns a duplicate 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 ForkExecPattern
impl Debug for ForkExecPattern
Source§impl Default for ForkExecPattern
impl Default for ForkExecPattern
Source§fn default() -> ForkExecPattern
fn default() -> ForkExecPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ForkExecPattern
impl RefUnwindSafe for ForkExecPattern
impl Send for ForkExecPattern
impl Sync for ForkExecPattern
impl Unpin for ForkExecPattern
impl UnwindSafe for ForkExecPattern
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