Török Edvin
5b74e89a35
enable prefiltering, and add to dconf.
...
Also downgrade some warnings to debug messages.
15 years ago
Török Edvin
2bc065d467
add support for (?i). Now regular expressions that begin with (?i) will be case
...
insensitive. (bb #1584 , #1598 ).
git-svn: trunk@5067
16 years ago
Török Edvin
a3d029b938
make use of hostkey prefix entries
...
git-svn: trunk@4929
16 years ago
Török Edvin
9f11978c28
add more ifdefs for old check version.
...
git-svn: trunk@4924
16 years ago
Török Edvin
31ea989c4c
fix unit-test
...
git-svn: trunk@4914
16 years ago
Török Edvin
4b52f390e5
fix make check. Buildbot didn't detect compile failure in make check.
...
git-svn: trunk@4902
16 years ago
Török Edvin
d4e1cb474f
fix match with root regex (bb #1421 ).
...
git-svn: trunk@4848
16 years ago
Török Edvin
a1c9ad2cf3
fix distcheck.
...
git-svn: trunk@4836
16 years ago
Török Edvin
7e32c99e10
improve URL handling
...
git-svn: trunk@4831
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
16 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
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
55cd3168fa
s/CL_DB_STDOPT/CL_ENGINE_DEFAULT
...
git-svn: trunk@4388
17 years ago
Török Edvin
15adbc849a
update unit tests to new API.
...
Initialization order changed, make sure stats_tls_key is initialized.
git-svn: trunk@4387
17 years ago
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
17 years ago
Török Edvin
7866b37c6b
mpool debugging
...
s/USE_MEMPOOL/USE_MPOOL/
git-svn: trunk@4329
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
d5d06eccaa
support building with older versions of check
...
git-svn: trunk@4289
17 years ago
Török Edvin
dc36f0d70c
strip spaces from URL before checking that it is a URL
...
git-svn: trunk@4215
17 years ago
Török Edvin
7d4b5f164a
use clistrdup/free instead of blobs (bb #828 )
...
git-svn: trunk@4203
17 years ago
Török Edvin
3baee5029c
convert a checked fixture into an unchecked fixture,
...
it is sufficient if that setup code is run once, this speeds up the tests.
fix some helgrind warnings
(the phishcheck struct is going to be freed anyway, so writing
something to it doesn't help anyway)
git-svn: trunk@4180
17 years ago
Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
17 years ago
aCaB
61b295f494
spam if lcheck is too old
...
git-svn: trunk@4121
17 years ago
aCaB
99f74adcc1
check for check
...
git-svn: trunk@4098
17 years ago
Török Edvin
dfc0c031cb
if there is a version.h.static use that instead of output from svnversion
...
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112 )
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes
git-svn: trunk@4078
17 years ago
Török Edvin
e6f14011ef
fix crash in SO_search when len == 1
...
also skip matching too short strings (they won't match anyway)
git-svn: trunk@4067
17 years ago
Török Edvin
1126559f77
flag for U: lines, format is one of:
...
U:MD5
U1:MD5
U2:MD5
add unit test for md5 url match
git-svn: trunk@4053
17 years ago
Török Edvin
2b9e5d2971
drop a redundant check from phishcheck.
...
enable debug output in unit tests, they are dumped to
unit_tests/test-stderr.log.
git-svn: trunk@4028
17 years ago
Török Edvin
888973ccc9
more tests
...
git-svn: trunk@4026
17 years ago
Török Edvin
a2d14e06b9
add more unit-tests
...
fix matching bugs in regex_list
git-svn: trunk@4020
17 years ago
Török Edvin
a497dce52d
fix compiler warnings
...
constify
git-svn: trunk@4019
17 years ago
Török Edvin
9ee053feab
handle multiple matches (bb #1110 )
...
update tests for regex, reenable test
git-svn: trunk@4018
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
82167b0a77
remove remaining CL_DEBUG, and add missing file
...
git-svn: trunk@3989
17 years ago