Commit Graph

164 Commits

Author SHA1 Message Date
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
Tomasz Kojm
3507891f00 freshclam: get detection stats directly from clamd (bb#2312) 2010-11-05 15:32:51 +01:00
Tomasz Kojm
cbc0c5f494 clamdscan: fix name parsing in normal mode (bb#2328) 2010-10-18 11:31:43 +02:00
Tomasz Kojm
bdf542401c clamdscan: fix parsing of virus names in extended mode (bb#2311) 2010-10-11 13:49:44 +02:00
Tomasz Kojm
ede343e023 clamdscan/proto.c: fix error path memleak (bb#2282) 2010-09-21 16:20:01 +02:00
Tomasz Kojm
fae973a25b clamdscan: fix parsing of virus names in extended mode and --stream (bb#2184) 2010-08-10 14:02:11 +02:00
Tomasz Kojm
247fe3aeb4 clamdscan: respect ExcludePath in --fdpass mode (bb#1923) 2010-05-07 21:14:34 +02:00
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
aCaB
6df3bfc345 win32: properly handle all relative paths in makeabs 2010-03-19 02:48:12 +01:00
aCaB
89e12eec81 win32: more safe_opens 2010-03-19 02:46:01 +01:00
Tomasz Kojm
8770404a47 clamscan: properly report errors from libclamav; simplify error codes 2010-02-04 21:33:03 +01:00
Tomasz Kojm
dd5092ff73 clamdscan: fix error logic once again 2010-02-03 18:23:30 +01:00
aCaB
80dea05931 clamdscan-win32 2010-01-31 17:13:10 +01:00
Török Edvin
d29df4cf2d Don't use clamdscan.map, it fails on some versions of Solaris.
On Solaris with GNU ld 2.17, a program which does a simple malloc(56)
dumps core if that linker map is used (which only exports main).
So just don't use that linker map for clamdscan at all.
2010-01-29 18:38:43 +02:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +02:00
Török Edvin
d0fab3c578 don't link clamdscan with -lz -ldl (bb #1474)
Apply a libltdl patch to avoid adding -ldl to LIBS.
Only add -lz to LIBCLAMAV_LIBS, libtool will add -lz as necessary
to programs linking libclamav.la.
Also add an export map to clamdscan, it only needs to export main.
Also remove the [1] from g++ version check to allow buildtesting with clang++.
2010-01-26 10:08:48 +02:00
aCaB
76d92cf01a bb#1760 2010-01-19 11:50:05 +01:00
Török Edvin
5b5e4e6ef0 Merge branch 'bytecode'
* bytecode: (99 commits)
  Update to autoconf 2.65, and libtool 2.2.6b.
  Disable LLVM's make check for now.
  Output trace messages to stderr, to ensure its flushed.
  Support for bytecode lines >8k.
  Print llvm's version too when printing clambc's.
  Fix global initializer bitcasts.
  Allow controlling trace level from cmdline.
  Refactor trace API, so that trace printing happens in clambc.
  Add support for null constant.
  Trace formatting fixes.
  Add support for tracing (if bytecode compiled with support).
  Drop extra {} and "".
  Fix compiler version check for C++: autoconf needs [] to be escaped.
  change bytecode format to allow structs with more than 16 fields.
  Fix after merge: update to fmap API.
  Support for scanning files created by bytecode.
  read optional debug metadata.
  Sync headers with clamav bytecode compiler.
  Print better error message when wrong function is called.
  Update to new LLVM API.
  ...

Conflicts:
	Makefile.am
	Makefile.in
	configure
	configure.in
	libclamav/Makefile.am
	libclamav/Makefile.in
	libclamav/pe.h
2009-12-11 18:21:04 +02:00
aCaB
7ab261a02b properly check for lm 2009-12-07 19:52:36 +01:00
Török Edvin
46e2863c4c Merge branch 'master' into bytecode
* master: (182 commits)
  libclamav/qsort.c: fix CMP1 macro (bb#1769)
  handle floating chars
  libclamav/readdb.c: make sure static sigs with floating chars go into AC
  sigtool: --decode-sigs: handle alternatives
  sigtool: --decode-sigs: handle .ldb sigs
  inflateinit spam
  sigtool: --decode-sigs: handle .ndb sigs
  fix sig printing
  Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
  Enable more than 256 FD support on Solaris (bb #1764).
  fix memleaks
  sigtool: --decode-sigs; decode .db entries (bb#1246)
  fsk sxs, gimme back my dll hell!
  Fix Solaris build: cli_hex2ui has to be added to libclamav.map
  Don't error on unused functions.
  sigtool: basic sig decoding
  sigtool/sigtool.c: handle .ign2 files (bb#1625)
  libclamav/qsort.c: don't call med3 when using internal cmp
  win32: fix globbing
  unify DUPMAX def
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	libclamav/Makefile.in
	libclamav/clamav.h
	libclamav/disasm.c
	libclamav/libclamav.map
	libclamav/matcher.c
	libclamav/others.c
	libclamav/pe.c
	libclamav/pe.h
	libclamav/readdb.c
2009-12-03 11:25:24 +02:00
Tomasz Kojm
d8dcfe2ec2 clamdscan: improve error handling (bb#1729) 2009-10-27 23:33:43 +01:00
Tomasz Kojm
9b3e1e8580 clamdscan, libclamav, clamdtop, freshclam, sigtool: fix some error path leaks (bb#1730) 2009-10-27 21:02:00 +01:00
Tomasz Kojm
d90f43a176 clamdscan/proto.c: handle recv() == 0 (bb#1717) 2009-10-26 13:09:19 +01:00
Tomasz Kojm
9cdf477e98 clamdscan: fix some output msgs (bb#1716) 2009-10-16 14:57:15 +02:00
aCaB
b8f3f028b2 always pass a NULL *tz to gettimeofday 2009-10-12 23:38:38 +02:00
Török Edvin
72a03f9bd5 Merge branch 'master' into bytecode
* master: (60 commits)
  Fix build when git is not installed and using BSD make.
  Only use -fno-strict-aliasing for gcc-4.3+, to avoid bugs with older compilers (bb #1581).
  libclamav/matcher-bm.c: fix cli_bm_freeoff() (bb#1710)
  bb#1708
  implove poolsize.pl
  win32: s/C_WINDOWS/_WIN32/ in clamd, shared
  libclamav/matcher-ac.c: fix matching of logical sigs (bb#1707)
  libclamav/readdb.c: fix handling of broken .ldb sigs (bb#1701)
  libclamav: new signature blacklisting format (bb#1625)
  killclamd must always succeed (except when there's a stuck clamd).
  Fix typo.
  Better error message when clamd gets killed
  merge win32 patches from sherpya
  remove bogus debug printf
  libclamav/matcher-ac.c: add support for line marker (L) (matches CR, CRLF and boundaries)
  fix EOL in platform.h
  sis.c: fix size check
  fix several problems introduced by the win32 commits
  fix in cli_is_abspath
  win32#3
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	configure.in
	libclamav/readdb.c
2009-10-02 10:08:44 +03:00
aCaB
a383350ae8 bb#1708 2009-09-30 12:41:47 +02:00
aCaB
4cd80898e6 win32#3 2009-09-24 19:31:30 +02:00
aCaB
58481352d5 win32 paths handling 2009-09-24 19:07:39 +02:00
aCaB
081f64735d win32#2 2009-09-24 16:24:07 +02:00
aCaB
be4bf7f4ab win32 2009-09-24 16:08:52 +02:00
Török Edvin
2c4c464098 Regenerate the buildfiles. 2009-08-31 15:52:44 +03:00
Török Edvin
d13f148a9c Regenerate build stuff. 2009-08-25 19:06:35 +03:00
Török Edvin
731d647a7a Regenerate build system files. 2009-08-24 19:39:51 +03:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
aCaB
f333d0bccb introduce new lzma 2009-08-05 16:20:29 +02:00
Tomasz Kojm
51bbedb132 libclamav, clamd: handle file exclusion in cli_ftw() (bb#1656) 2009-07-31 21:28:55 +02:00
aCaB
c4afd0b458 update ignore files 2009-06-29 11:27:46 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
Tomasz Kojm
c2b6681b79 clamscan, clamdscan: add support for --file-list/-f
git-svn: trunk@5069
2009-05-21 13:43:05 +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
b070a1d264 fix build on platforms where pthread in not part of libc (bb #1470).
git-svn: trunk@4946
2009-03-14 14:31:49 +00:00
aCaB
22446430c1 unify error reporting
git-svn: trunk@4909
2009-03-07 15:32:16 +00:00
aCaB
f592af6c21 do not break out on access and IO errors
git-svn: trunk@4908
2009-03-07 15:32:09 +00:00
aCaB
5b1eee09f3 refactor error handlers in clamdscan
git-svn: trunk@4907
2009-03-07 01:55:07 +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
aCaB
5ad17a134e clamdscan side of bb#1429
git-svn: trunk@4872
2009-02-28 08:11:04 +00:00
Tomasz Kojm
6670464f91 update help pages
git-svn: trunk@4855
2009-02-24 16:12:56 +00:00
Török Edvin
a1598d7ccb trim extra leading and trailing slashes (bb #1423).
git-svn: trunk@4852
2009-02-24 13:21:27 +00:00
aCaB
39667b9f50 handle warning_skipped_link
git-svn: trunk@4849
2009-02-23 18:26:19 +00:00