aCaB
e21657dfc9
a faster and more compact allocator
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4286 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0d9dbdef21
some leaks fixed
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4280 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
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
Tomasz Kojm
bc86a381c3
libclamav: scan disasm data with type-8 sigs (bb#895)
...
git-svn: trunk@4047
17 years ago
Tomasz Kojm
677fc4ba3b
libclamav: add initial support for logical signatures (bb#896)
...
git-svn: trunk@3993
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
aCaB
2ac2095aa5
limits in scanbuff
...
git-svn: trunk@3618
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
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
aCaB
b5231f5f67
realign structs see bb#474
...
git-svn: trunk@3537
18 years ago
Tomasz Kojm
9381324adf
avoid holes in often used data structures (bb#748);
...
git-svn: trunk@3495
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
ab1db3b3f1
minor code cleanup; load balance bm_suffix
...
git-svn: trunk@3360
18 years ago
Tomasz Kojm
ecf5865b53
minor optimisation
...
git-svn: trunk@3251
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
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
Tomasz Kojm
9b82f82b6b
add support for floating offsets
...
git-svn: trunk@2922
18 years ago
Sven Strickroth
a99111f050
remove old CVS-stuff and make the repository look more like SVN
...
git-svn: trunk@2755
19 years ago
Tomasz Kojm
73218de24b
improve scanning of files whose types are detected on-the-fly
...
git-svn: trunk@2601
19 years ago
Tomasz Kojm
53721687ad
reorganize the NodalCore code and add support for runtime detection and loading of the acceleration library
...
git-svn: trunk@2528
19 years ago
Tomasz Kojm
841161e0d6
cache target file info in pattern matchers
...
git-svn: trunk@2511
19 years ago
Tomasz Kojm
4e9ab8ed2f
pattern matcher accuracy improvements
...
git-svn: trunk@2505
19 years ago
Tomasz Kojm
e12c29d28b
minor code cleanup
...
git-svn: trunk@2031
19 years ago
Tomasz Kojm
8acd1cee82
add support for *.hdb and *.fp databases in hwaccel mode
...
git-svn: trunk@1916
19 years ago
Tomasz Kojm
48b7b4a747
update GPL headers with new address for FSF
...
git-svn: trunk@1901
19 years ago
Tomasz Kojm
3c91998bb4
simplify internal function declarations by passing a context structure
...
git-svn: trunk@1845
20 years ago
Tomasz Kojm
555c5390cc
add support for signature based self-protection mode
...
git-svn: trunk@1831
20 years ago
Tomasz Kojm
a85bd2acdd
bruteforce sfx detection
...
git-svn: trunk@1817
20 years ago
Tomasz Kojm
0d0fc120bb
update
...
git-svn: trunk@1804
20 years ago
Tomasz Kojm
5612732cad
add support for cl_engine and cli_matcher
...
git-svn: trunk@1726
20 years ago
Tomasz Kojm
978e3d689d
improve file type recognizer and add CL_TYPE_RARSFX
...
git-svn: trunk@1634
20 years ago
Tomasz Kojm
db65451bef
add MD5 based false positive eliminator
...
git-svn: trunk@1380
21 years ago
Tomasz Kojm
7ec67e9466
add support for new signature format
...
git-svn: trunk@893
21 years ago
Tomasz Kojm
b68d11d251
initial support for new signature format
...
git-svn: trunk@860
21 years ago
Tomasz Kojm
8000d0786b
Use new patter matching algorithm. Cleanup.
...
git-svn: trunk@674
21 years ago
Tomasz Kojm
4048c4f6dc
initial support for MD5 signatures
...
git-svn: trunk@667
21 years ago
Tomasz Kojm
084ee140cf
extend engine to support character alternatives and distance limits in
...
multipattern signatures
git-svn: trunk@661
21 years ago
Tomasz Kojm
888f5794bf
new method of file type detection; HTML normalisation
...
git-svn: trunk@648
21 years ago
Tomasz Kojm
ed026d3677
minor fixes
...
git-svn: trunk@475
21 years ago
Tomasz Kojm
b5b62ca7f1
Don't limit '*' to a single 128KB buffer.
...
git-svn: trunk@457
21 years ago
Tomasz Kojm
e4ae772644
Big update
...
git-svn: trunk@88
22 years ago
Luca Gibelli
e3aaff8e10
Initial revision
...
git-svn: trunk@7
22 years ago