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.
pub fn evaluate_rule<S: DetectionSource + ?Sized>(
rule: &HierarchicalMagicRule,
source: &mut S,
) -> Option<RuleMatchResult>Evaluates a single HierarchicalMagicRule and its child tree against a DetectionSource.