pub struct LdPreloadInfo {
pub pid: u32,
pub process_name: String,
pub ld_preload_value: String,
pub preloaded_libraries: Vec<String>,
pub is_suspicious: bool,
}Expand description
Information about an LD_PRELOAD value found in a process’s environment.
Fields§
§pid: u32Process ID.
process_name: StringProcess command name.
ld_preload_value: StringThe raw LD_PRELOAD environment variable value.
preloaded_libraries: Vec<String>Individual library paths extracted from the LD_PRELOAD value.
is_suspicious: boolWhether the LD_PRELOAD value looks suspicious (tmp, devshm, hidden paths).
Trait Implementations§
Source§impl Clone for LdPreloadInfo
impl Clone for LdPreloadInfo
Source§fn clone(&self) -> LdPreloadInfo
fn clone(&self) -> LdPreloadInfo
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 LdPreloadInfo
impl Debug for LdPreloadInfo
Auto Trait Implementations§
impl Freeze for LdPreloadInfo
impl RefUnwindSafe for LdPreloadInfo
impl Send for LdPreloadInfo
impl Sync for LdPreloadInfo
impl Unpin for LdPreloadInfo
impl UnsafeUnpin for LdPreloadInfo
impl UnwindSafe for LdPreloadInfo
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