pub fn evaluate_rule_with_mode<S: DetectionSource + ?Sized>(
rule: &HierarchicalMagicRule,
source: &mut S,
mode: u32,
) -> Option<RuleMatchResult>Expand description
Evaluates a single HierarchicalMagicRule and its child tree against a DetectionSource with file mode.