aCaB
4284b788bc
freeign0
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4278 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
04dc5e0ae5
remove debug message
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4273 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
e309658f9b
strdup not hex2str for tokens[3]!
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4272 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
a5746c2512
TODO:
...
- make regex* and hash* behave properly (either include or exclude from the pool entirely)
- cleanup the ifdefs and make a single macro
- fixup the proto for dconf (re-enables make check in mpool-mode)
- check the possibility to entirely wipe frees from error paths in mpool-mode
(this totally simplifies the code)
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4271 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
885c2bf5b9
builds with and without mpools (#define USE_MPOOL) but it's still very broked
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4269 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0728972ea5
(hoepfully) completed db load, regexes and hashes missing
...
need to recheck strlen(hex2string) bugs, need to figure how to hangle regexes and hashes: edwiiiiiiin!!! :D
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4268 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b583d6ed27
small update
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4267 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b94e66c486
HIGLY EXPERIMENTAL memory pool for libclamav
...
The goal is to put an end to memory wasted due to stupid allocators and fragmentation
In the long run mpool libraries will be replaced with better code. For now there just good enough.
This branch is currently under development and totally broken.
If it will ever compile, it'll probably result in random crashes or at least (slightly) higher load times.
The code is also terrible, just don't look.
Do not use except for testing.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4266 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b105842c5c
when --disable-gcc-vcheck is set, set CFLAGS to O0 and
...
append -broken-compiler to the VERSION (bb #684 )
introduce VERSION_SUFFIX for easier handling, and convert -exp to use it
git-svn: trunk@4239
17 years ago
Tomasz Kojm
6670d61d4b
drop support for Cygwin (due to broken ClamAV builds)
...
git-svn: trunk@4143
17 years ago
Tomasz Kojm
341faf6051
libclamav: drop obsolete code in matcher-ac
...
git-svn: trunk@4140
17 years ago
Tomasz Kojm
a45c7039c1
shut up some gcc warnings
...
git-svn: trunk@4092
17 years ago
Tomasz Kojm
ec285505da
unit_tests/check_matchers.c: add tests for cli_(ac|bm)_scanbuff
...
git-svn: trunk@4091
17 years ago
Török Edvin
04f9bedf4b
use SVN revision in version info
...
TODO: replace every remaining use of VERSION with cl_retver()
git-svn: trunk@4070
17 years ago
Tomasz Kojm
b023c36d4b
libclamav: add support for loading specific PUA categories (bb#939)
...
clamd: new options ExcludePUA and IncludePUA
clamscan: new switches --exclude-pua and --include-pua
git-svn: trunk@4046
17 years ago
Tomasz Kojm
ee8bd2fb14
libclamav: lsigs: handle extended block modifiers (bb#896)
...
git-svn: trunk@3998
17 years ago
Tomasz Kojm
c7aeeb46ef
evaluate lsigs in cli_scandesc
...
git-svn: trunk@3997
17 years ago
Tomasz Kojm
677fc4ba3b
libclamav: add initial support for logical signatures (bb#896)
...
git-svn: trunk@3993
17 years ago
Török Edvin
2e11bcdfd9
performance improvements for URL matching (bb #725 , bb #650 ):
...
* use a suffix AC-trie and a shift-or FSM to filter
* rewrite the URL regex in C
* use a perfect hash to lookup TLD and ccTLD, instead of a regex
* TODO: suffixes having a common prefix: loop over all of them
cli_ac_free: multiple virname pointing to same location
git-svn: trunk@3978
17 years ago
Tomasz Kojm
b5513f8ddf
libclamav: add ".UNOFFICIAL" suffix to 3rd party signatures (bb#1061)
...
git-svn: trunk@3903
17 years ago
Tomasz Kojm
04ba76d2cb
minimize memory fragmentation after db reload (bb#1028)
...
git-svn: trunk@3873
17 years ago
Tomasz Kojm
72ce4b70eb
improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
...
git-svn: trunk@3862
17 years ago
Tomasz Kojm
e8ae4fae02
faster loading of uncompressed .cld files
...
git-svn: trunk@3854
17 years ago
Török Edvin
a72b7d2e72
improve DB load time
...
git-svn: trunk@3853
17 years ago
Tomasz Kojm
2023340a41
update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
...
git-svn: trunk@3749
17 years ago
Tomasz Kojm
6038397ea6
filetype detection improvements
...
git-svn: trunk@3662
18 years ago
Tomasz Kojm
ed9753e99d
add support for signature whitelisting with daily.ign/local.ign (bb#779)
...
git-svn: trunk@3601
18 years ago
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
c3671221da
introduce hashset_* functions
...
use a faster hash function
use hashset to load mdb signatures
regenerate files due to hash function change
enable hash function profiling during generation
git-svn: trunk@3589
18 years ago
Tomasz Kojm
96435bdc49
fix some compiler warnings
...
git-svn: trunk@3582
18 years ago
Tomasz Kojm
4addba22e4
ndb sigs: add new target type (7) for ASCII files; handle sigs for targets 2..7 with A-C only
...
git-svn: trunk@3570
18 years ago
Tomasz Kojm
9b0004bf1d
add missing 'break'
...
git-svn: trunk@3562
18 years ago
Tomasz Kojm
a3fe2c5ba1
make the parser more sensitive to syntax errors (bb#238)
...
git-svn: trunk@3561
18 years ago
Tomasz Kojm
9d193ff26c
add support for .cld containers
...
git-svn: trunk@3444
18 years ago
Tomasz Kojm
056d95dc5a
add (initial) support for direct loading of CVD files
...
git-svn: trunk@3435
18 years ago
Tomasz Kojm
2b4598190c
use B-M to handle .hdb and .fp databases and other minor changes
...
git-svn: trunk@3425
18 years ago
Tomasz Kojm
7021b54569
improved filetype detection code
...
git-svn: trunk@3421
18 years ago
Tomasz Kojm
3d53538b51
add cli_ac_setdepth(), --dev-ac-depth, DevACOnly, DevACDepth
...
git-svn: trunk@3365
18 years ago
Tomasz Kojm
3dad68eb73
code cleanup
...
git-svn: trunk@3269
18 years ago
Tomasz Kojm
09eab32afc
move hardware acceleration code to contrib/hwaccel/hwaccel.patch
...
git-svn: trunk@3209
18 years ago
Tomasz Kojm
a7ac59781d
various cleanups; fix bb#577 (move cli_* out of clamav.h)
...
git-svn: trunk@3196
18 years ago
Tomasz Kojm
70edb0851e
add support for PUA databases
...
git-svn: trunk@3169
18 years ago
Tomasz Kojm
84fd5a614c
fix some possible error path leaks by changing cli_realloc() to cli_realloc2()
...
git-svn: trunk@3064
18 years ago
Tomasz Kojm
692bda6847
prepare for enabling phishing code in non-experimental builds
...
git-svn: trunk@3042
18 years ago
Tomasz Kojm
0a3d409413
use BM matcher to handle .mdb sigs
...
git-svn: trunk@3040
18 years ago
Tomasz Kojm
fbcef1b0b5
new implementation of the Aho-Corasick pattern matcher
...
git-svn: trunk@3038
18 years ago
Tomasz Kojm
bb34cb31fe
update some copyrights and stick to GPL v2
...
git-svn: trunk@3003
18 years ago
Tomasz Kojm
bedc58dee1
make some cleanups and add support for nibble matching
...
git-svn: trunk@2992
18 years ago
Török Edvin
4890cb614e
remove CL_EXPERIMENTAL wrappers from calls to phishcheck/entcoonv.
...
replace them with DCONF checks.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/temp_dconf_phishenable@2982 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Tomasz Kojm
e4e8366f9d
optimize loading of .ndb files (bb#339)
...
git-svn: trunk@2970
18 years ago