pub struct FopsHookInfo {
pub path: String,
pub struct_address: u64,
pub hooked_functions: Vec<HookedFop>,
pub is_suspicious: bool,
}Expand description
Information about a file_operations struct with potential hooks.
Fields§
§path: StringPath of the /proc or device entry, e.g. “/proc/modules”.
struct_address: u64Virtual address of the file_operations struct.
hooked_functions: Vec<HookedFop>List of function pointers that were checked.
is_suspicious: boolWhether any function pointer targets outside kernel text.
Trait Implementations§
Source§impl Clone for FopsHookInfo
impl Clone for FopsHookInfo
Source§fn clone(&self) -> FopsHookInfo
fn clone(&self) -> FopsHookInfo
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 FopsHookInfo
impl Debug for FopsHookInfo
Auto Trait Implementations§
impl Freeze for FopsHookInfo
impl RefUnwindSafe for FopsHookInfo
impl Send for FopsHookInfo
impl Sync for FopsHookInfo
impl Unpin for FopsHookInfo
impl UnsafeUnpin for FopsHookInfo
impl UnwindSafe for FopsHookInfo
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