Commit graph

21 commits

Author SHA1 Message Date
Török Edvin
322a0ea653 Fix bytecode load bugs. Make loading more robust: print error message instead of
crashing.
Able to load and dry-run yc_bytecode.o1.cbc now.
2009-11-26 17:29:59 +02:00
Török Edvin
a45e257772 Fix bugs when loading bytecode. 2009-11-26 17:29:45 +02:00
Török Edvin
646395bb44 Fix distcheck. 2009-10-02 12:52:35 +03:00
Török Edvin
9fac78c72e Update to latest bytecode format. 2009-10-02 10:26:47 +03:00
Török Edvin
80b4b3fb0f Generalize special global handling (__match_counts etc.). 2009-09-30 14:06:10 +03:00
Török Edvin
88815fd801 Sync with compiler. 2009-09-30 13:41:02 +03:00
Török Edvin
d38d6dadef Logical signature hook for bytecode. 2009-09-22 11:04:33 +03:00
Török Edvin
459b13ed89 Initial support for __match_count. 2009-09-21 23:44:32 +03:00
Török Edvin
52dd3a6bda Initial support for loading .cbc files from DB. 2009-09-21 20:10:33 +03:00
Török Edvin
1d1dd80f32 Fix global variable names. 2009-09-11 15:17:48 +03:00
Török Edvin
7189addbde WiP on debug APi. 2009-09-11 15:12:17 +03:00
Török Edvin
ec07792943 Support for constant global with global initializers. 2009-09-10 22:51:11 +03:00
Török Edvin
a1781898ec inputfile support 2009-09-08 22:25:33 +03:00
Török Edvin
4789b8a5a6 Add draft file API, doesn't work yet. 2009-09-04 17:29:13 +03:00
Török Edvin
d0af4afea4 ctx param to APIs 2009-09-04 16:24:52 +03:00
Török Edvin
6fa1a75be8 todo 2009-09-03 12:17:03 +03:00
Török Edvin
e6d1fe78ea Apicall0 suppport for JIT. 2009-09-02 18:53:29 +03:00
Török Edvin
479fa7135c Fix type checking. 2009-09-02 17:44:18 +03:00
Török Edvin
e32caecb83 Add APIcall support to JIT. 2009-09-02 15:32:59 +03:00
Török Edvin
df52b258a6 prevent double init 2009-08-31 17:44:38 +03:00
Török Edvin
2c7d5adc15 If C++ compiler is not available, don't build LLVM.
This is tricky, because autoconf provides no way to do this automatically
(AC_PROG_CXX fails if no C++ compiler).
One could override AC_MSG_ERROR/FAILURE for AC_PROG_CXX, but that causes all
sorts of problems later (like sys/types.h not found).

So instead create yet another configure in libclamav/c++,
but teach autoconf not to fail if the subconfigure fails
(by overriding AC_MSG_ERROR to set a variable instead of exiting).

This seems to work with shared and static builds, "-all-static" builds
don't work yet, will fix that later.
2009-08-31 15:49:41 +03:00
Renamed from libclamav/bytecode2llvm.cpp (Browse further)