clamav/clambc-compiler

Sponsored OSS

By Cisco Systems, Inc

Updated almost 2 years ago

The official bytecode compiler docker images for the ClamAV project.

Image
Security
Integration & delivery
1

2.4K

clamav/clambc-compiler repository overview

ClamAV Bytecode Compiler

Maeve, the ClamAV mascot

The ClamAV® Bytecode Compiler is a tool to build cross-platform advanced malware detection plugins for the ClamAV® open source antivirus engine. We call these plugins "bytecode signatures". Bytecode signatures are are executed by a ClamAV using either an LLVM JIT runtime or an interpeter runtime. These signatures extend ClamAV's file format support and provide detection capabilities above and beyond the limitations of content-based logical signatures.

Documentation

See the documentation, chapter 1 "Installation".

Quick Start

Getting the bytecode compiler repository
git clone git://github.com/Cisco-Talos/clamav-bytecode-compiler
Quick start for building & installing
  1. Ensure that you have LLVM 8 and Clang 8 installed.

  2. Ensure that you have Python 3.6 or newer.

  3. Run:

mkdir build && cd build

cmake .. \
    -D CMAKE_BUILD_TYPE=Release \
    -D CMAKE_INSTALL_PREFIX=<install path>

cmake --build .

ctest -V

ctest install

See the documentation, section "1.3 Building" if build fails

Staying up-to-date
git pull
Using a specific release
$ git tag | grep clambc
clambc-0.10
clambc-0.102.0
clambc-0.102.0-2
clambc-0.103.0
clambc-0.11
clambc-0.97.3a
clambc-0.98.1rc1
clambc-0.98.1rc2
clambc-0.98.5rc1
clambc-0.98.7
clambc-0.99.2

$ git checkout clambc-0.102.0-2

Change Log

For information about the features in this and prior releases, read the news.

Join the ClamAV Community

The best way to get in touch with the ClamAV community is to join our mailing lists and to join us on Discord.

Want to make a contribution?

The ClamAV development team welcomes code contributions. Thanks for joining us!

Licensing

ClamAV is licensed for public/open source use under the GNU General Public License, Version 2 (GPLv2).

See COPYING/COPYING.txt for a copy of the license.

3rd Party Code

ClamAV contains a number of components that include code copied in part or in whole from 3rd party projects and whose code is not owned by Cisco and which are licensed differently than ClamAV. These include:

  • LLVM, Clang:
    • < 9.0.0: Illinois Open Source License (BSD-like)
    • = 9.0.0: Apache License 2.0 with LLVM Exceptions

See the COPYING directory for a copy of the 3rd party project licenses.

Tag summary

Content type

Image

Digest

sha256:a7169c065

Size

309.8 MB

Last updated

almost 2 years ago

docker pull clamav/clambc-compiler

This week's pulls

Pulls:

332

Last week