Commit Graph

407 Commits

Author SHA1 Message Date
Shawn Webb
f310738305 Initial commit for clamsubmit app 2014-01-28 10:38:40 -05:00
Kevin Lin
9185611549 reconf makefiles to handle new gpt parsing source file 2014-01-24 14:58:03 -05:00
Steven Morgan
b02190b40c Dynamic fpu endian detection for remaining unit tests and removal of fpu_words_bigendian configuration option and artifacts. 2013-11-11 18:00:58 -05:00
Steven Morgan
04ad685477 Fixes for unit tests when autoit ea06 unavailable 2013-11-04 12:14:19 -05:00
Steven Morgan
a393d99922 convert unit test check_clamav to runtime fpu endian detection. 2013-10-31 15:41:38 -04:00
Shawn Webb
0f1e9fa0b0 Fix buildbot 2013-10-12 15:09:26 -04:00
Shawn Webb
f0f3fe69b8 bb#9174 - Skip scanning bz2 files in unit tests if bz2 support is disabled 2013-10-11 16:51:41 -04:00
Shawn Webb
d9b6b8c757 bb#8993 - Rename the STAT macro to CLAMSTAT to avoid name conflicts on AIX 2013-09-25 16:23:10 -04:00
David Raynor
b09a05e4c3 Rework configure code for libxml2 check 2013-09-20 17:01:48 -04:00
David Raynor
217295cc65 bb #1570: DMG TOC and striping (not reassembly yet), and libxml2 check 2013-09-13 10:40:58 -04:00
David Raynor
cc2243afba valgrind suppression rules for dl_catch_error complaints 2013-08-07 18:55:13 -04:00
Shawn Webb
b814f446ed LLVM leaks a little bit of memory only when the RTLD starts closing everything down. Supress leak in valgrind. 2013-03-12 15:00:07 -04:00
Shawn Webb
138b5aba59 bb6082 - Fix compiler warnings 2013-02-28 14:39:19 -05:00
Shawn Webb
391c46d48b Revert "Fix autotools on FreeBSD"
This reverts commit ff060a0c3a.
2012-12-27 15:34:38 +00:00
Shawn Webb
ff060a0c3a Fix autotools on FreeBSD 2012-12-20 19:03:44 +00:00
Steve Morgan
54402320c0 Add bytecode performance statistics 2012-12-05 15:48:52 -08:00
David Raynor
9b1af69ed0 clamd: expect ALLMATCHSCAN in unit test 2012-11-28 16:25:54 -05:00
Shawn Webb
e522909e19 bb6061 2012-11-19 13:20:33 -05:00
David Raynor
e8b638342a bb#6038: fix compile warning in unit test code due to type mismatch 2012-11-06 10:35:10 -05:00
Shawn Webb
dee0b8f95a bb1823 - Enable linking with custom zlib 2012-11-05 13:36:22 -05:00
Steve Morgan
03b99d0311 fix compiler warning 2012-10-19 09:39:06 -07:00
Steve Morgan
6ad45a2931 add initial allscan/allmatch mode to libclamav, clamd, clamdscan, and clamscan with unit tests 2012-10-18 14:12:58 -07:00
Shawn webb
d1ffa04fe7 Add back in the Makefile.in files 2012-08-13 08:54:05 -04:00
Shawn webb
913826d168 Remove unnecessary autotools artifacts 2012-08-10 14:44:37 -04:00
Shawn webb
29b92a2d58 BB#5612 - Allow build on Interix 2012-08-09 09:59:56 -04:00
Shawn webb
3123aef04a Fix unit tests. Makefile.in doesn't need to be changed for the stats64 change. 2012-07-23 18:13:40 -04:00
Shawn webb
a2a004df25 BB#3737 - Value too large for specified data type
Create compile-time preprocessor defines for switching from calling
stat() to stat64(). Add --enable-stat64 switch in configure script.
2012-07-16 15:36:49 -04:00
David Raynor
b23fde6835 Suppress zlib valgrind warnings on inflateReset2 2012-06-12 19:09:49 -04:00
Tom Judge
2304f7e256 Update configuration artificats. 2012-05-31 12:44:16 -04:00
Tomasz Kojm
d68aba83b6 clamd: ScanOnAccess now supports ClamAuth on OS X 2012-03-01 19:49:51 +01:00
Török Edvin
b32ad8572c disable unit tests that need _i for old check versions. 2012-01-05 12:59:18 +02:00
Török Edvin
8bc8849764 fmapify cab: fix alignment issue on sparc 2012-01-04 18:36:37 +02:00
Török Edvin
0d54f27143 fix small leak in unit tests 2012-01-04 15:58:30 +02:00
Török Edvin
569bdeebe8 Merge branch 'fmapify'
* fmapify: (54 commits)
  workaround for unrar not supporting fmap.
  stfu on large lzma allocs
  handle 7z encryption detection albeit post extraction and blockencrypted
  add 7z SFX support - bb#3063
  fix makefile for external LLVM 2.9
  fix wrong interaction between prescan_cb caching and postscan_cb
  bytecode_watchdog: fix use of unaddressable data
  UPgrade lzma SDK to version 9.20 Also fmapify
  export cl_fmap_close
  cli_map_scandesc convenience API
  Introduce cli_map_scandesc to scan a portion of the existing file
  fix utf16_to_utf8, and add testcase
  cli_utf16_to_utf8
  fmapify jpeg_exploit
  fmaify cli_scan_riff
  fmapify mydoom
  export filetype cb
  factor out common code
  fix mem API of new fmap
  unit tests for new fmap scan API
  ...

Conflicts:
	libclamav/Makefile.in
	libclamav/c++/Makefile.am
	libclamav/c++/Makefile.in
	libclamav/filetypes_int.h
	libclamav/scanners.c
	libclamav/str.c
	unit_tests/check_clamav.c
2012-01-04 15:52:33 +02:00
aCaB
ca804a8d9b add iso test files 2011-11-22 19:18:01 +01:00
Török Edvin
d1b44b4d97 unit tests: wrap _i with #ifdef to support old versions of libcheck. 2011-11-21 11:43:47 +02:00
Török Edvin
8bf6e781e9 fix distcheck. 2011-10-10 12:07:31 +03:00
Török Edvin
bf8e15ce05 Fix make distcheck 2011-07-14 14:47:12 +03:00
Török Edvin
aff7f05cd7 Fix bashism in unit test (bb #2923)
Patch by Chris Rees:
$RANDOM is a bashism, it has been replaced with portable code.

Also, the randomly generated port is checked to make sure it's not already
in use.
2011-07-14 14:09:22 +03:00
Török Edvin
0eafa898e9 fix utf16_to_utf8, and add testcase 2011-06-17 22:20:31 +03:00
Török Edvin
7caec945eb specify type of constant 2011-06-15 13:44:44 +03:00
Török Edvin
0b1acdd813 Merge branch 'master' into fmapify
* master:
  testcase for cl_scan APIs
  c4w: add Scan_GetFileType - untested
  upgrade sigui api
  make the sigload callback be aware of custom sigs

Conflicts:
	unit_tests/Makefile.am
	unit_tests/Makefile.in
	unit_tests/check_clamav.c
2011-06-15 12:26:05 +03:00
Török Edvin
d5f7afdded testcase for cl_scan APIs
(partially ported from fmapify branch)
2011-06-15 12:22:27 +03:00
Török Edvin
592e246c3f factor out common code 2011-06-15 12:07:04 +03:00
Török Edvin
81e5772859 fix mem API of new fmap 2011-06-14 23:46:04 +03:00
Török Edvin
62ee12b2f8 unit tests for new fmap scan API 2011-06-14 22:35:03 +03:00
Török Edvin
32f7e1d77b fmapfiy screnc 2011-06-13 12:03:26 +03:00
Török Edvin
60ba0f8656 Revert "build system: use automake subdir-objects (bb #2369)"
This reverts commit 321488a958.

Conflicts:

	win32/clamav-config.h
2011-04-16 17:41:57 +03:00
Török Edvin
42f51c4561 bump unit test ulimits
RHEL6's experimental memory allocator has increased memory usage, so bump these
limits, see bb #1990.
2011-04-14 16:00:26 +03:00
Török Edvin
4fe129a313 build system: upgrade libtool and libltdl 2011-04-14 16:00:25 +03:00