Skip to main content

clamav_verdict

Function clamav_verdict 

Source
fn clamav_verdict(code: Option<i32>, stdout: &str) -> Option<Verdict>
Expand description

What ClamAV’s exit code and output say: 0, nothing found; 1, a threat (<file>: Eicar-Test-Signature FOUND), or a limit passed, which it names Heuristics.Limits.Exceeded… when asked to say so: not scanned, too big; anything else, none: it could not scan.