Commit Graph

165 Commits

Author SHA1 Message Date
Tomasz Kojm
d8c55f4a62 handle .sfp files 2011-01-19 16:44:50 +01:00
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
Tomasz Kojm
5c4f88a441 sigtool: handle .hs(b|u) and .ms(b|u) files 2011-01-18 16:21:44 +01:00
Tomasz Kojm
d5fde2eb61 sigtool: add new options --sha1 and --sha256 2011-01-18 15:00:37 +01:00
Tomasz Kojm
f820268196 freshclam: detect and fix corruptions of existing db files 2011-01-17 19:06:57 +01:00
Tomasz Kojm
478e8c3f01 sigtool: improve handling of spaces in cdiffs (bb#2090) 2011-01-10 18:57:11 +01:00
Török Edvin
027b853894 one more O_BINARY was missing for sigtool --run-cdiff. 2010-11-15 10:40:13 +02:00
Tomasz Kojm
25fa9b709b 'b' for win32 2010-11-12 18:17:05 +01:00
Tomasz Kojm
56b5bd3ee0 be a bit more precise about offsets 2010-10-18 16:23:52 +02:00
Tomasz Kojm
95ed77e573 sigtool/sigtool.c: don't use of sizeof() for malloc'ed buffer (bb#2283) 2010-09-21 16:33:19 +02:00
Tomasz Kojm
4bc4581d6e shared/cdiff.c, sigtool/sigtool.c: fix error path double frees (bb#2280, bb#2281) 2010-09-21 16:14:15 +02:00
Tomasz Kojm
4dccd075f9 clamconf: print information about 3rd party databases 2010-09-16 14:37:43 +02:00
Tomasz Kojm
ca141d7804 sigtool/sigtool.c: print db names in --find-sigs 2010-09-15 19:01:24 +02:00
Tomasz Kojm
50af000ec5 sigtool/sigtool.c: fix EOL matching in --find-sigs (bb#2164) 2010-08-17 13:11:37 +02:00
Tomasz Kojm
7c75b6fd08 sigtool/sigtool.c: fix handling of --datadir (bb#2180) 2010-08-09 13:22:00 +02:00
Tomasz Kojm
2a47495b7f sigtool/sigtool.c: fix build problem (bb#2133) 2010-07-22 14:24:58 +02:00
Tomasz Kojm
73e996dc66 sigtool/sigtool.c: add support for creating cdiffs with arbitrary long lines (bb#2014) 2010-07-19 18:50:38 +02:00
Tomasz Kojm
566b044e2b sigtool/sigtool.c: drop compatibility limit 2010-06-28 18:44:17 +02:00
Tomasz Kojm
ffa9b06093 sigtool: print match count and offsets in --test-sigs mode (bb#2054)
IMPORTANT NOTE: --test-sigs now only works against the final target file
(after all processing, normalization, etc. for which the tested
signature was directly created)
2010-06-10 12:24:26 +02:00
Tomasz Kojm
8478b04a78 sigtool/sigtool.c: add --datadir (bb#2063) 2010-06-08 16:34:59 +02:00
Tomasz Kojm
0d6158d3a1 fix previous commit 2010-05-10 20:19:12 +02:00
Tomasz Kojm
e79eb06fc9 add support for last.hdb in bytecode.cvd 2010-05-10 18:21:21 +02:00
Tomasz Kojm
bca0b67921 tools: make sure the libclamav version is high enough (bb#2013) 2010-05-10 17:05:16 +02:00
Tomasz Kojm
568e08fc79 sigtool/sigtool.c: fix error msg (bb#2002) 2010-05-10 14:51:50 +02:00
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
Tomasz Kojm
1c514ffb3b sigtool: handle .idb files 2010-04-07 16:28:52 +02:00
Török Edvin
46450085a9 Fix loading of bytecode.cvd
Sigtool tries to load the DB before signing, pretend it is signed.
2010-03-17 16:44:24 +02:00
Tomasz Kojm
fc8d26a187 allow sigtool use a different flevel for db building purposes 2010-03-16 12:18:08 +01:00
aCaB
8f5bb092f8 win32: add sigtool 2010-03-16 04:17:10 +01:00
Tomasz Kojm
7b4c4c8ad1 ignore compatibility limit for bytecode 2010-02-11 20:30:05 +01:00
aCaB
9be6a33415 fix distcheck 2010-02-10 19:38:04 +01:00
aCaB
3e527c3487 one & too much 2010-02-10 19:19:54 +01:00
aCaB
3ef137af1b fix fmap stuff in sigtool 2010-02-10 17:53:27 +01:00
Tomasz Kojm
0d71b6f11b freshclam, sigtool: use zlib's Z_FILTERED strategy
Thanks to Edwin
2010-02-08 10:31:30 +01:00
Tomasz Kojm
e293229df0 don't count lsig associated with bc 2010-02-02 17:13:44 +01:00
Tomasz Kojm
e3fecc08c0 fix infloop 2010-02-02 12:29:29 +01:00
Tomasz Kojm
490d6c4168 sigtool: add support for bytecode.cvd 2010-02-01 19:26:05 +01:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +02:00
Tomasz Kojm
26a59f82c3 nl 2010-01-22 15:16:12 +01:00
Tomasz Kojm
b2742f8878 sigtool: create digitally signed .info files
libclamav: temporarily disable .info checking - needs to be updated
to the new format; sigtool/signd must be updated on SI
2010-01-21 23:02:15 +01:00
Tomasz Kojm
4cf78d9e19 sigtool/sigtool.c: handle lsigs created by the bytecode compiler 2009-12-29 13:51:26 +01:00
Tomasz Kojm
7d54e23149 sigtool/sigtool.c: properly handle anchored sigs (bb#1780) 2009-12-28 23:28:04 +01:00
Tomasz Kojm
3df571b3aa sigtool: fix some messages (bb#1777) 2009-12-14 15:05:03 +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
eb2c6cc79a Merge branch 'exeicons' 2009-12-11 00:54:31 +01:00
Tomasz Kojm
a96eead450 sigtool: add --test-sigs (basic functionality) (bb#1246) 2009-12-09 23:32:34 +01: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
ef1152a6e8 handle floating chars 2009-12-01 23:49:51 +01:00
Tomasz Kojm
6f003ed678 sigtool: --decode-sigs: handle alternatives 2009-11-30 21:18:04 +01:00