Török Edvin
4a588824db
fix build
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4614 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
ce970052f4
push temporary work
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4613 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
3cf9fec2b0
add missing state
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4607 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
efe3d1250b
finish traversal logic
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4606 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
03aefc7c37
fix build errors
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4605 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
2f6b761c7a
cli_ftw draft
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4604 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
72fb25eaf0
libclamav/str.c: return token count in cli_strtokenize()
...
libclamav/readdb.c: use tokens_count (bb#1331); make the parser more strict
git-svn: trunk@4593
17 years ago
Tomasz Kojm
27e28c610e
libclamav/mpool.c: fix old free() call in cli_mp_hex2ui()
...
git-svn: trunk@4592
17 years ago
Török Edvin
76115c1963
fix malformed .pdb handling (bb #1338 )
...
git-svn: trunk@4591
17 years ago
aCaB
3b2ae9260c
s/esi/esi/
...
git-svn: trunk@4585
17 years ago
Tomasz Kojm
9d91ff71f0
add missing default.h
...
git-svn: trunk@4579
17 years ago
Tomasz Kojm
589d8d8e99
libclamav: add default.h
...
git-svn: trunk@4578
17 years ago
Török Edvin
188914fe8d
reset resource type, otherwise we parse all resources after a string resource as
...
string (including images), which is wrong, because it feeds wrong statistics to
cli_detect_swizz.
git-svn: trunk@4577
17 years ago
Török Edvin
eb86e93563
fix Swizzor detection: if no individual string is suspicious, the result must be
...
clean.
git-svn: trunk@4564
17 years ago
Török Edvin
3b053173ed
fix last commit
...
git-svn: trunk@4554
17 years ago
Török Edvin
02b5f26cab
make regex available in libclamav_internal_utils.la, split others.c instead of
...
using #ifdef CLI_MEMFUNS_ONLY.
git-svn: trunk@4553
17 years ago
Tomasz Kojm
a37a861eec
libclamav: add CL_FLEVEL_DCONF (bb#1313)
...
git-svn: trunk@4550
17 years ago
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
17 years ago
Török Edvin
6f22c5e625
add missing type
...
git-svn: trunk@4540
17 years ago
Török Edvin
f27fab00d4
Improve Trojan.Swizzor.Gen detection: do per file statistics in addition to per string. It is amazing how a much simpler rule can do the same job better.
...
git-svn: trunk@4539
17 years ago
Török Edvin
b84f20d9ab
use a more precise J48 tree (built from more input data), and lower threshold
...
for detection. This detects ~14% more samples.
git-svn: trunk@4512
17 years ago
Török Edvin
42d26ac94c
Heuristic detection of Trojan.Swizzor.Gen (bb #1310 )
...
git-svn: trunk@4511
17 years ago
Tomasz Kojm
41486c4253
libclamav/matcher-ac.c: fix parsing of lsig modifiers
...
git-svn: trunk@4506
17 years ago
Tomasz Kojm
695e6fd402
sync with 0.94.2
...
git-svn: trunk@4484
17 years ago
Tomasz Kojm
be63d0adc5
libclamav/special.c: respect recursion limits in cli_check_jpeg_exploit() (bb#1266)
...
git-svn: trunk@4483
17 years ago
Török Edvin
33d52089fc
fix disable-unrar build: don't refer to libclamunrar_iface.la
...
with enable-unrar builds (default) warn if can't dlopen.
if unrar is disabled, don't warn, just show a debug message.
git-svn: trunk@4464
17 years ago
Tomasz Kojm
c9157be30f
libclamav/readdb.c: fix handling of malformed ldb sigs (bb#1292)
...
git-svn: trunk@4434
17 years ago
aCaB
fd856af471
use char* arithmetic
...
git-svn: trunk@4433
17 years ago
Török Edvin
db43492c79
remove nonexistent symbols from .map file, add dummy functions.
...
git-svn: trunk@4431
17 years ago
Tomasz Kojm
33068e0973
libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
...
git-svn: trunk@4416
17 years ago
aCaB
160930d433
test completed, --enable-mempool works again - sorry for the trouble
...
git-svn: trunk@4415
17 years ago
aCaB
bf6f78a4dc
this is a test, --enable-mempool deliberately broken
...
git-svn: trunk@4414
17 years ago
Török Edvin
af84980bec
fix distcheck
...
git-svn: trunk@4406
17 years ago
Tomasz Kojm
ab0d2f054d
libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
...
git-svn: trunk@4404
17 years ago
Török Edvin
0c3db7d345
move cli_rarload.
...
TODO: MEMFUNSONLY should be a separate file!
git-svn: trunk@4400
17 years ago
Tomasz Kojm
b8fe70b3a3
libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
...
git-svn: trunk@4398
17 years ago
Tomasz Kojm
72d0c053da
libclamav/readdb.c: phishing_done() no longer needs to be called outside cl_engine_free()
...
git-svn: trunk@4397
17 years ago
Török Edvin
4b2400fd7c
fix memory leak (bb #1291 )
...
git-svn: trunk@4395
17 years ago
aCaB
f5a4018bd7
dlinit in cl_init
...
git-svn: trunk@4394
17 years ago
Török Edvin
f01ea61380
Fix -Werror build: there is no libltdl directory when building with VPATH, $(srcdir)/libltdl is enough. Filter -Werror in libltdl.
...
git-svn: trunk@4389
17 years ago
Tomasz Kojm
370892d044
clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4384 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
5ed6026065
liblt sucks
...
git-svn: trunk@4381
17 years ago
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
17 years ago
aCaB
cadf86d46f
remove mutex in nsis/zlib
...
git-svn: trunk@4379
17 years ago
Tomasz Kojm
c45c4c3db0
add cl_engine_(set|get)
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4378 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
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
17 years ago
aCaB
b51b44afb9
*really* final
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4369 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
bb7bd3abfd
final
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4368 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
fc0493d2ca
reduce memory usage of AC nodes
...
git-svn: trunk@4363
17 years ago
Török Edvin
5ddf834fa3
fix VPATH build
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4361 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago