Tomasz Kojm
5bdf0b2a45
clamconf: display info on software & dbs (bb#1461)
...
git-svn: trunk@5056
16 years ago
Török Edvin
62b7686d21
fix trailing bytes in base64 decoding (bb #1388 , thanks Thiyaga <mthiyaga*corp.untd.com>)
...
git-svn: trunk@4974
16 years ago
Tomasz Kojm
2accc66fef
libclamav, clamd, clamscan: replace cl_engine_(set|get) with cl_engine_set_(num|str) and cl_engine_get_(num|str)
...
git-svn: trunk@4933
16 years ago
Török Edvin
e68d70e7e0
strerror/strerror_r->cli_strerror which is always thread safe.
...
git-svn: trunk@4927
16 years ago
Tomasz Kojm
99f817e731
libclamav: introduce cl_engine_settings_* API calls for copying settings between engines
...
clamd/server-th.c: respect original engine settings after db reload (bb#1380)
git-svn: trunk@4885
16 years ago
Török Edvin
4e46d65d39
use sha256 instead of md5 in phishcheck.
...
move sha256 to libclamav.
add more tests.
git-svn: trunk@4822
17 years ago
Török Edvin
208bce76f9
remove nonexistent symbol to make Solaris linker happy.
...
git-svn: trunk@4770
17 years ago
Török Edvin
e5e4a55410
merge from clamd-proto branch: introduce cli_ftw
...
git-svn: trunk@4754
17 years ago
Török Edvin
ef4ed2e180
preliminary INSTREAM support.
...
TODO: the code starts to look ugly, clean up the code.
INSTREAM shouldn't reply fd[]
make jobgroup own the resources (sockets, tempfiles)
allow to notify jobgroup to terminate when remote disconnects
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4681 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
afff80efb9
libclamav, shared: minor cleanups; fix handling of long file names (bb#1349)
...
git-svn: trunk@4670
17 years ago
Török Edvin
3de54fe471
WIP switch to new multiscan code.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4655 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
7b57a8338e
add dsig unit test
...
git-svn: trunk@4652
17 years ago
Tomasz Kojm
47d40feb7a
libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
...
git-svn: trunk@4650
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
Tomasz Kojm
ab0d2f054d
libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
...
git-svn: trunk@4404
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
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
Török Edvin
deb3031222
mempool statistics support
...
git-svn: trunk@4344
17 years ago
Török Edvin
563582a1ec
fix unit tests when mpool is activated
...
git-svn: trunk@4323
17 years ago
Török Edvin
d9282b9765
properly null-terminate buffer (bb #1223 )
...
git-svn: trunk@4252
17 years ago
Török Edvin
5f3d802a2d
remove duplicate symbol
...
git-svn: trunk@4167
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
aCaB
5e07cfed01
unit tests for uniq
...
git-svn: trunk@4074
17 years ago
Török Edvin
2e64bd9fc5
add test for cli_hex2str (bb #930 )
...
git-svn: trunk@4056
17 years ago
aCaB
c92b0057f7
test_disasm
...
git-svn: trunk@4009
17 years ago
Török Edvin
10290ba3eb
allow custom data to be associated with patterns (such as a regex) via a void*
...
field.
Fix memory leaks, and valgrind problems in regex_list_done.
git-svn: trunk@3994
17 years ago
Török Edvin
3dcc2d784e
more tests for regex
...
run unit-tests under valgrind if available.
git-svn: trunk@3990
17 years ago
Török Edvin
5ee56e4103
split up regex_list.
...
begin testing for regex_suffix
git-svn: trunk@3985
17 years ago
Török Edvin
5be3029f8f
fix crash in js parser
...
fix configure test for check: if it is not available, and we didn't pass
--enable-check, do not complain
add unit test for jsnorm bug
git-svn: trunk@3949
17 years ago
Török Edvin
37e6472959
more unit tests for js normalizer
...
git-svn: trunk@3925
17 years ago
Török Edvin
4a6ade4489
add all needed files to EXTRA_DIST (to fix make distcheck)
...
create unit tests for js normalizer
cleanups
git-svn: trunk@3924
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
Török Edvin
7be8d871f6
replace cli_dbgmsg with a macro that avoids calling
...
the real function if we're not debugging. Statically
predict this branch as untaken.
updates due to above change
git-svn: trunk@3643
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
9e751804a2
introduce cli_ctime() that uses ctime_r() when
...
available, and falls back to locking with a mutex around
ctime(). (ensures we are using the same mutex always).
use cli_ctime() instead of the thread-unsafe ctime().
This fixes stability problems.
git-svn: trunk@3578
18 years ago
Tomasz Kojm
a3fe2c5ba1
make the parser more sensitive to syntax errors (bb#238)
...
git-svn: trunk@3561
18 years ago
Török Edvin
80cf63099c
add support for version scripts when using Sun's ld on Solaris.
...
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.
git-svn: trunk@3474
18 years ago
Török Edvin
3c5655fb6f
add missing version script
...
git-svn: trunk@3464
18 years ago