Struct yara_sys::YR_SCAN_CONTEXT
source · #[repr(C)]pub struct YR_SCAN_CONTEXT {Show 22 fields
pub file_size: u64,
pub entry_point: u64,
pub flags: c_int,
pub canary: c_int,
pub timeout: u64,
pub user_data: *mut c_void,
pub callback: YR_CALLBACK_FUNC,
pub rules: *mut YR_RULES,
pub last_error_string: *mut YR_STRING,
pub iterator: *mut YR_MEMORY_BLOCK_ITERATOR,
pub objects_table: *mut YR_HASH_TABLE,
pub matches_notebook: *mut YR_NOTEBOOK,
pub stopwatch: YR_STOPWATCH,
pub re_fiber_pool: RE_FIBER_POOL,
pub re_fast_exec_position_pool: RE_FAST_EXEC_POSITION_POOL,
pub rule_matches_flags: *mut c_ulong,
pub ns_unsatisfied_flags: *mut c_ulong,
pub strings_temp_disabled: *mut c_ulong,
pub matches: *mut YR_MATCHES,
pub unconfirmed_matches: *mut YR_MATCHES,
pub required_eval: *mut c_ulong,
pub profiling_info: *mut YR_PROFILING_INFO,
}
Fields§
§file_size: u64
§entry_point: u64
§flags: c_int
§canary: c_int
§timeout: u64
§user_data: *mut c_void
§callback: YR_CALLBACK_FUNC
§rules: *mut YR_RULES
§last_error_string: *mut YR_STRING
§iterator: *mut YR_MEMORY_BLOCK_ITERATOR
§objects_table: *mut YR_HASH_TABLE
§matches_notebook: *mut YR_NOTEBOOK
§stopwatch: YR_STOPWATCH
§re_fiber_pool: RE_FIBER_POOL
§re_fast_exec_position_pool: RE_FAST_EXEC_POSITION_POOL
§rule_matches_flags: *mut c_ulong
§ns_unsatisfied_flags: *mut c_ulong
§strings_temp_disabled: *mut c_ulong
§matches: *mut YR_MATCHES
§unconfirmed_matches: *mut YR_MATCHES
§required_eval: *mut c_ulong
§profiling_info: *mut YR_PROFILING_INFO
Trait Implementations§
source§impl Clone for YR_SCAN_CONTEXT
impl Clone for YR_SCAN_CONTEXT
source§fn clone(&self) -> YR_SCAN_CONTEXT
fn clone(&self) -> YR_SCAN_CONTEXT
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 moreimpl Copy for YR_SCAN_CONTEXT
Auto Trait Implementations§
impl Freeze for YR_SCAN_CONTEXT
impl RefUnwindSafe for YR_SCAN_CONTEXT
impl !Send for YR_SCAN_CONTEXT
impl !Sync for YR_SCAN_CONTEXT
impl Unpin for YR_SCAN_CONTEXT
impl UnwindSafe for YR_SCAN_CONTEXT
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