Commit Graph

229 Commits

Author SHA1 Message Date
Török Edvin
2c4c464098 Regenerate the buildfiles. 2009-08-31 15:52:44 +03:00
Török Edvin
2487a4a342 Various bytecode JIT fixes, teach clamconf about JIT, and make sure make check runs the JIT! 2009-08-28 20:07:25 +03:00
Török Edvin
6b67ec6ee7 Handle runtime errors with setjmp/longjmp, using a thread-local jmpbuf to make
it threadsafe.
2009-08-28 13:26:33 +03:00
Török Edvin
85a25497bd really execute the JITed code. 2009-08-27 20:41:29 +03:00
Török Edvin
3b33bd6830 Minimal LLVM codegen. 2009-08-27 18:12:39 +03:00
Török Edvin
d13f148a9c Regenerate build stuff. 2009-08-25 19:06:35 +03:00
Török Edvin
d1487222f7 Draft of libclamav <-> jit communication. 2009-08-25 19:06:32 +03:00
Török Edvin
731d647a7a Regenerate build system files. 2009-08-24 19:39:51 +03:00
Tomasz Kojm
aca9ea82df libclamav: handle relative offsets with cli_ac_data; fix offset logic 2009-08-21 15:55:10 +02:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
Török Edvin
aa12dc2c4f Fix valgrind output parser to look for " 0 bytes" instead of "0 bytes",
it was failing to catch leaks which are multiples of 10.
2009-08-20 17:09:01 +03:00
Török Edvin
cf0cd429e9 Implement API calls from bytecode. 2009-08-20 16:33:58 +03:00
Török Edvin
09bd983946 Fix bytecode interpreter to work on bigendian machines. 2009-08-18 10:03:26 +03:00
Török Edvin
8cc286f57d Add support for type loader. 2009-08-17 15:25:12 +03:00
Török Edvin
6922903ad9 bytecode: fully switch to a stack based allocation, and operands with various bitwidths. 2009-08-17 15:13:29 +03:00
Tomasz Kojm
33872a43de libclamav: improve handling of signature offsets 2009-08-14 14:38:13 +02:00
aCaB
f333d0bccb introduce new lzma 2009-08-05 16:20:29 +02:00
Török Edvin
e53ef4464b Fix unit-test failure on Solaris. 2009-07-31 15:30:47 +03:00
Török Edvin
5f71301659 daily.ftm not needed in unit_tests, should use the one in filetypes_int.h. 2009-07-19 18:27:25 +03:00
Török Edvin
92740b7383 Fix unit tests when run as root (bb #1635). 2009-07-15 16:25:27 +03:00
Török Edvin
3411775b3a Add missing unit-test files. 2009-07-13 19:45:05 +03:00
Török Edvin
d99c0c4245 bytecode: add unit tests and ChangeLog. 2009-07-13 19:40:25 +03:00
Tomasz Kojm
094127dd66 test: add cpio test files 2009-07-06 16:56:32 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
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
2009-05-15 11:53:22 +00:00
Török Edvin
dcf16a7f31 set EF_ALIGNMENT=8 for non-x86 platforms. (bb #1385)
git-svn: trunk@5063
2009-05-06 07:56:41 +00:00
Török Edvin
e9e0833f5c fix some warning
git-svn: trunk@5050
2009-04-20 14:26:53 +00:00
Török Edvin
47d403f899 Fix clamd INSTREAM handling inside IDSESSION (bb #1564).
git-svn: trunk@5049
2009-04-20 14:26:48 +00:00
Török Edvin
5fedbe0a5d properly remove old logfiles during make check.
git-svn: trunk@5019
2009-04-03 08:32:38 +00:00
Török Edvin
4b93f2b633 check for mallinfo availability (bb #1445).
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00
Török Edvin
b6dab5a7d8 fix warning
git-svn: trunk@4975
2009-03-22 17:18:58 +00:00
Török Edvin
62b7686d21 fix trailing bytes in base64 decoding (bb #1388, thanks Thiyaga <mthiyaga*corp.untd.com>)
git-svn: trunk@4974
2009-03-22 16:55:41 +00:00
Török Edvin
3e552ab69b fix warning
git-svn: trunk@4965
2009-03-20 18:10:40 +00:00
Török Edvin
9e81ab6f70 put back ifndef C_BSD in unit test
git-svn: trunk@4950
2009-03-14 20:45:36 +00:00
Török Edvin
e4565ad5df have to set conn queue length in test.
git-svn: trunk@4949
2009-03-14 19:23:04 +00:00
Török Edvin
7ff6ec039c better fix for bb #1446, try not to get confused by half-shut sockets (bb #1441).
git-svn: trunk@4947
2009-03-14 15:03:15 +00:00
Török Edvin
a3d029b938 make use of hostkey prefix entries
git-svn: trunk@4929
2009-03-11 20:06:35 +00:00
Török Edvin
e68d70e7e0 strerror/strerror_r->cli_strerror which is always thread safe.
git-svn: trunk@4927
2009-03-11 19:11:09 +00:00
Török Edvin
9f11978c28 add more ifdefs for old check version.
git-svn: trunk@4924
2009-03-10 18:53:38 +00:00
Török Edvin
39b84970e1 new clamd command: nVERSIONCOMMANDS (bb #1437).
git-svn: trunk@4922
2009-03-10 17:51:06 +00:00
Török Edvin
e828353b83 allow for hash prefixes.
git-svn: trunk@4916
2009-03-09 11:23:21 +00:00
Török Edvin
31ea989c4c fix unit-test
git-svn: trunk@4914
2009-03-09 11:23:12 +00:00
Török Edvin
b0e57898e8 fix FILDES and make check on NetBSD. (bb #1411).
git-svn: trunk@4905
2009-03-06 15:19:59 +00:00
Török Edvin
4b52f390e5 fix make check. Buildbot didn't detect compile failure in make check.
git-svn: trunk@4902
2009-03-06 09:09:06 +00:00
aCaB
5348fa8d28 bb#1443
please don't touch the build stuff for a coupel of hours so i can easily revert this commit

git-svn: trunk@4884
2009-03-02 16:39:54 +00:00
Török Edvin
47b8b6c257 Fix make check when run as root. (bb #1431).
git-svn: trunk@4879
2009-03-01 10:40:00 +00:00
Török Edvin
c2b4740ceb disable duma tests by default, they time out even on fast machines.
git-svn: trunk@4866
2009-02-25 20:41:16 +00:00
Török Edvin
7bb82e6cec fix build with old versions of check
git-svn: trunk@4863
2009-02-25 19:28:48 +00:00
Török Edvin
a7d064d825 fix duma timeouts (thanks Nigel!).
git-svn: trunk@4859
2009-02-24 21:27:38 +00:00
Török Edvin
5dddbcb787 fix electric-fence return code checking (bb #1385).
git-svn: trunk@4851
2009-02-24 09:59:16 +00:00