Hi Edwin, Thanks much for your useful replies. Could you please point to me to where, in the source code, ClamAV does scanning? What are the string matching algorithms it uses?
Thanks again, ~Moe 2010/4/18 Török Edwin <[email protected]> > On 2010-04-18 20:30, Mohammed Al-Saleh wrote: > > I've noticed that if I use clamscan to scan a file, it always takes > around 3.7 seconds no matter the file content, type, or even size (unless it > is really very large file). > > Does any body know what is the feature in the ClamAV to make it takes > the same time almost always? > > clamscan loads the database each time, and loading that takes a few > seconds. The actual scanning time is much smaller. > Compare it to the time needed by clamdscan: that is the scantime, and it > does change according to filesize. > > Best regards, > --Edwin > _______________________________________________ > http://lurker.clamav.net/list/clamav-devel.html > Please submit your patches to our Bugzilla: http://bugs.clamav.net > _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
