Skip to main content

ScriptRuleChecker

Type Alias ScriptRuleChecker 

Source
pub type ScriptRuleChecker = dyn Fn(&str, Option<&str>, TaintLevel) -> Option<String> + Send + Sync;
Expand description

Type alias for a scripted rule checker function. Takes (tool_name, target, taint_level) and returns Some(script_name) if the rule allows. Send + Sync so a boxed checker can live in a shared-world resource.