ClamAV ByteCode Compiler
C++ LLVM HTML C Objective-C Assembly Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ClamBC change version number to clamav-0.99.2 Aug 15, 2016
clang update user documentation on flevels and DisassembleAt Jul 5, 2016
docs update user documentation on flevels and DisassembleAt Jul 5, 2016
driver set bugreporting tarball to use tempdir settings Apr 15, 2015
examples added needed source file for documentation Feb 20, 2014
ifacegen api: updated copyright information May 6, 2014
llvm removed 'Hello' pass to enable compilation with newer versions of gcc… Nov 25, 2013
regex startup.cbc Jul 28, 2010
COPYING fix parsing of PE section names Dec 22, 2011
COPYING.clang Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
COPYING.llvm Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
COPYING.re2 Import RE2 library. Jul 15, 2010
COPYING.re2c Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
README updated README's location to aquire compiler repository Jun 10, 2014
bc2h.pl fixes Jul 29, 2010
bugpoint.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
compile.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
compile_debug.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
compile_examples.sh Improve arithmetic tests to catch bswap() bugs. May 14, 2010
debug.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
merge-new.sh Merge remote branch 'llvm-upstream/release' Mar 28, 2010
sync_clamav.sh more copyright updates May 6, 2014
taggy.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010
valgrind.sh Import ClamAV Bytecode Compiler (clambc-0.03). Mar 12, 2010

README

See docs/user/clambc-user.pdf, chapter 1 "Installation".
Getting the bytecode compiler repository:
-----------------------------------------
git clone git://github.com/vrtadmin/clamav-bytecode-compiler

Quick start for building:
-------------------------
Check that your compiler version is not listed as a broken compiler here:
http://llvm.org/docs/GettingStarted.html#brokengcc

$ mkdir obj
$ cd obj
$ ../llvm/configure --enable-optimized --enable-targets=host-only --disable-bindings --prefix=/usr/local/clamav
$ make clambc-only -j4
$ make install-clambc -j8

For building and running tests:
-------------------------------
$ mkdir obj
$ cd obj
$ ../llvm/configure --enable-optimized --enable-targets=host-only --disable-bindings --prefix=/usr/local/clamav
$ make clambc-only -j4
$ make -j4
$ make check-all

See docs/user/clambc-user.pdf, section "1.3 Building" if build fails.

Staying up-to-date:
-------------------
git pull

Using a specific release:
-------------------------
$ git tag|grep ^clambc
clambc-0.10
$ git checkout clambc-0.10

Verifying signature on tag:
---------------------------
1. Get my GPG key (clamav.net/gpg/edwin.gpg)
2. Verify the tag:
$ git tag -v clambc-0.10

type commit
tag clambc-0.10
tagger Török Edvin <edwin@clamav.net> 1268418118 +0200

First public release of the ClamAV Bytecode Compiler.
gpg: Signature made Fri 12 Mar 2010 07:58:41 PM EET using RSA key ID 5379965D
gpg: Good signature from "Török Edvin <edwin@clamav.net>"
gpg:                 aka "Török Edvin <edwintorok@gmail.com>"