evaluate_rule

Function evaluate_rule 

Source
pub fn evaluate_rule<S: DetectionSource + ?Sized>(
    rule: &HierarchicalMagicRule,
    source: &mut S,
) -> Option<RuleMatchResult>
Expand description

Evaluates a single HierarchicalMagicRule and its child tree against a DetectionSource.