On 04/24/2010 11:39 PM, Mohammed Al-Saleh wrote: > Does ClamAV use Aho-Corasick algorithm to match files against static > signatures and Boyer-Moore against signatures that have *'s and ??'s ?
No it is not as simple as that, and it is usually the other way around. read the cli_parse_add() function, it has all the logic of choosing between AC and BM. Why do you ask? Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net