Commit Graph

10 Commits

Author SHA1 Message Date
DavidKorczynski bc5ee4f128
clamav: rename git clone and get corpus in build script. CIFuzz-related (#6947) 2021-12-01 11:29:34 +00:00
DavidKorczynski 8d85237a84
clamav: update build to fix CIFuzz repo identification (#6943)
* clamav: update build to fix CIFuzz repo identification

* clamav: fix build
2021-11-30 23:03:10 +00:00
Micah Snyder 63fad5651f
[clamav] install rust toolchain (#6823) 2021-11-14 04:22:19 +00:00
Micah Snyder a42a1bc957
[clamav] Fix build (#6187)
The instructions for building libclamav-only dependencies changed.

The clamav_deps collection is now used for all clamav dependencies.

A) We don't need to waste resources building dependencies used only
   by clamav programs.
B) The ncurses static build seems to be failing on this image, which
   is why the build is broken/needs fixing.
2021-08-09 21:33:25 +01:00
Micah Snyder 1aa590c4ff
[clamav] Switch from autotools to cmake (#5302)
For the CMake build, build all dependencies as static libraries first.
To automate this, the Dockerfile uses the Mussels tool.

The HAVE_MMAP variable is explicitly disabled so that malloc is used in
place of mmap, which will yield better fuzzing results.
2021-03-05 21:15:03 -08:00
Micah Snyder 7f9866ee90
[clamav] Add optional autogen.sh step; fix build (#4193)
ClamAV recently removed autotools generated materials (configure,
Makefile.in, etc) from the git repo. This commit adds tools and calls
necessary to generate those files if autogen.sh is present.
2020-07-26 18:40:34 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Micah Snyder 83ee390bc0
[clamav] Add flex, bison to Dockerfile (#3755)
Flex & Bison are needed to generate source files for yara syntax
support. While the generated source are currently in the clamav-devel
repo, the build system sometimes thinks the files must be regenerated.

In the future, these and the autotools generated files will be removed
from the clamav-devel repo and will need to be generated for every
build.

We're also planning to add CMake tooling (still a work in progress).

Once the generated files are removed, we'll either have ot build the
fuzz targets with CMake or bring in autoconf, automake, m4, libtool, and
pkg-config to generate the files in build.sh. At that time, we should
also update build.sh to build the dependencies statically, many of which
are missing at present meaning we're not getting great code coverage.
We'll also want to load a small signature set to improve code coverage
for the fuzz targets.
2020-05-03 14:28:30 -07:00
Micah Snyder 7394fb5eec clamav - Minor update to fix built failure now that libcurl is a hard requirement to build clamav. (#2505) 2019-06-12 17:45:59 +10:00
Micah Snyder 194c7de657 Added the clamav project. (#2047) 2018-12-21 11:19:14 -08:00