Commit Graph

33 Commits

Author SHA1 Message Date
aCaB
81fded1131 7z support 2009-08-06 22:46:12 +02:00
aCaB
9981dfc43b add ishield DCONF 2009-07-13 12:45:12 +02:00
Tomasz Kojm
89c14869ae missing stuff (-a !@(*&!(@*&) 2009-07-08 15:05:22 +02:00
Tomasz Kojm
75e46945d2 libclamav: add support for cpio archives (bb#1649) - missing changes 2009-07-06 16:15:33 +02:00
Tomasz Kojm
47d40feb7a libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
git-svn: trunk@4650
2009-01-26 19:47:02 +00:00
Tomasz Kojm
a37a861eec libclamav: add CL_FLEVEL_DCONF (bb#1313)
git-svn: trunk@4550
2008-12-10 19:02:40 +00:00
Török Edvin
42d26ac94c Heuristic detection of Trojan.Swizzor.Gen (bb #1310)
git-svn: trunk@4511
2008-12-02 19:55:57 +00:00
Tomasz Kojm
15850fc6d4 simplify the code; don't free 'engine'
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4380 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-11 21:23:34 +00:00
Tomasz Kojm
724b2bf770 Move cl_engine from clamav.h to others.h; move cl_limits to cl_engine;
New API calls:

int cl_init(unsigned int options);
struct cl_engine *cl_engine_new(unsigned int options);
int cl_engine_compile(struct cl_engine *engine);
struct cl_engine *cl_engine_dup(struct cl_engine *engine);
int cl_engine_free(struct cl_engine *engine);

more to come..

WARNING: THE BRANCH IS CURRENTLY BROKEN AND SHOULD NOT BE USED



git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4370 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-10 17:39:58 +00:00
aCaB
946bd26646 merge mempool branch
git-svn: trunk@4320
2008-11-01 02:39:00 +00:00
Tomasz Kojm
3f81d93a7e libclamav: fix detection of Worm.Mydoom.M.log and control it with CL_SCAN_ALGORITHMIC and dconf (bb#1241)
git-svn: trunk@4291
2008-10-24 09:21:54 +00:00
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
2008-10-21 23:55:11 +00:00
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
2008-10-18 12:03:08 +00:00
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
2008-10-18 01:04:14 +00:00
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
2008-10-17 17:00:13 +00:00
Török Edvin
8be1d5a4bb enable JS normalizer
git-svn: trunk@3919
2008-07-08 11:33:32 +00:00
Tomasz Kojm
e8ae4fae02 faster loading of uncompressed .cld files
git-svn: trunk@3854
2008-05-18 21:32:27 +00:00
Tomasz Kojm
26fbf6bddf DLP updates
git-svn: trunk@3798
2008-04-18 17:14:20 +00:00
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
2008-04-02 15:24:51 +00:00
Török Edvin
08f0150f16 don't scan comment.html and script.html.
add failsafe dconf option. (bb #851) 
set scanscript limit to 512k
TODO don't generate above 2 files
better condition for bb #849


git-svn: trunk@3659
2008-02-19 18:43:42 +00:00
Török Edvin
d6df9ffb5a use pthread_cond_* instead of usleep() in MULTISCAN (bb #758)
enable entconv by default
others.c: fix compiler warning
regex_list.c: remove unused code, because a better solution is scheduled for 0.94 (bb #725)


git-svn: trunk@3627
2008-02-13 10:57:33 +00:00
Török Edvin
015ce4a89b support for generic text normalizer (CL_TYPE_SCRIPT)
git-svn: trunk@3584
2008-02-04 21:38:34 +00:00
Tomasz Kojm
5a85b33374 remove experimental JS and PST code
git-svn: trunk@3501
2008-01-17 04:04:20 +00:00
Tomasz Kojm
056d95dc5a add (initial) support for direct loading of CVD files
git-svn: trunk@3435
2007-12-18 19:23:56 +00:00
Tomasz Kojm
7c06afc6f3 add dconf support for autoit
git-svn: trunk@3341
2007-10-30 19:22:00 +00:00
Tomasz Kojm
018222a24e re-enable ARJ in standard builds; bump f-level
git-svn: trunk@3290
2007-10-09 15:27:21 +00:00
Tomasz Kojm
1c9ba46e52 make ARJ experimental
git-svn: trunk@3285
2007-10-08 21:34:17 +00:00
aCaB
95e31dc77b General "tidy" and some algo hacks.
Old and inefficient sue cryptor replaced with a signature.



git-svn: trunk@3202
2007-09-04 00:38:30 +00:00
Trog
9d96e4b608 add ARJ and SFX-ARJ support
git-svn: trunk@3138
2007-07-11 10:14:08 +00:00
Tomasz Kojm
c98bc23f79 DCONF support for ASPACK
git-svn: trunk@3103
2007-06-19 15:09:20 +00:00
Tomasz Kojm
8fb8d069b0 DCONF support for NSIS
git-svn: trunk@3061
2007-05-23 14:08:21 +00:00
Tomasz Kojm
692bda6847 prepare for enabling phishing code in non-experimental builds
git-svn: trunk@3042
2007-05-01 16:08:57 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00