Török Edvin
8f5cead087
Fix bytecode_api.h
...
It helps if I actually run make before committing.
15 years ago
Török Edvin
4ed8c2349b
Restore the fix in clamav-0.96-19-ge4a0f2c.
...
It got lost when running sync_clamav in the bytecode compiler.
Fixed the script now.
15 years ago
Török Edvin
9fd98da148
Add check that correct libstdc++ version is used (bb #1971 ).
15 years ago
Török Edvin
fa9612e672
support building without pthreads ( #1897 ).
15 years ago
Török Edvin
1c4683acd1
add match_offsets support.
15 years ago
aCaB
320157e891
fix win32 build
15 years ago
Tomasz Kojm
60dbee52c8
libclamav: make lsigs working in cli_scanscript() (bb#1998)
15 years ago
aCaB
3e3b587eed
eintr in pread
15 years ago
aCaB
a0c381973b
bb#1968
15 years ago
Tomasz Kojm
94f8946c5a
libclamav/matcher-ac.c: fix counting of subsig matches (bb#2001)
15 years ago
Török Edvin
eaecde8404
Mac OS X doesn't have -pthread (bb #1995 )
15 years ago
Török Edvin
6c8149456b
Fix crash with -ftree-vectorize/-O3 (bb #1984 ).
...
This is LLVM SVN r102604:
Limit alignment in SmallVector 8, otherwise GCC assumes 16 byte alignment.
opetaror new, and malloc only return 8-byte aligned memory on 32-bit Linux,
which cause a crash if code is compiled with -O3 (or -ftree-vectorize) and some
SmallVector code is vectorized.
15 years ago
Tomasz Kojm
81c1e5f52e
libclamav: fix some limit settings (bb#1973)
15 years ago
Török Edvin
3735fda134
min/max functionality level support.
15 years ago
Tomasz Kojm
6ab9ec9c5e
libclamav/others.c: bump f-level
15 years ago
Tomasz Kojm
8ff82a6851
libclamav/matcher-ac.c: fix handling of VI/MACRO special offsets (bb#1957)
15 years ago
aCaB
098bb0ad6f
kernel hates you - downgraded
15 years ago
Tomasz Kojm
02e46f3fdb
libclamav: avoid loading duplicate databases (bb#1962)
15 years ago
Török Edvin
2a7f1cdaf5
Print C++ compiler version.
...
This requires exporting a function from libclamav, since clamconf is not C++...
15 years ago
Török Edvin
909407e70b
Regenerate build system after clamconf change.
15 years ago
aCaB
09b0916b23
fix typoes - thanks to Michael Tautschnig
15 years ago
Török Edvin
e86fe7ea90
Add debug messages about how bytecodes are executed (JIT/interpreter).
15 years ago
Török Edvin
adafd3d6bf
Disable gcc 3.4.6 by default (bb #1935 ).
...
RedHat's version (3.4.6 20060404 (Red Hat 3.4.6-11) is buggy, see http://farm.0xacab.net/build/show/6292
FreeBSD's version appears to work, they can pass --enable-llvm, and if make
check passes use it.
15 years ago
Török Edvin
b28845c3de
Fix cli_unlink warnings (bb #1956 ).
...
fd == 0 is used to mark an invalid fd (not fd -1).
Test that tempfile is not NULL before calling cli_unlink
(that is the cause of the Bad address errors).
Also call cli_unlink when a virus is found. This isn't strictly
necessary since the file will get removed by the parent's rmdirs(),
but there is no point in leaving it behind.
15 years ago
Török Edvin
8d115e9f87
Add missing file.
15 years ago
Török Edvin
e4a0f2c94f
fix compiler warnings (bb #1872 , bb #1934 , bb #1935 )
15 years ago
Török Edvin
c26edb2ed4
Allow building with gcc 3.4.6 (bb #1934 ).
15 years ago
aCaB
8c94b45b0c
more relaxed vinfo parser - try to mimic winxp's
15 years ago
Tomasz Kojm
9e61b08595
libclamav/matcher.c: return proper virus name in icon detector (bb#1933)
15 years ago
Török Edvin
2f995d9abc
Fix load of multiple unsigned bytecodes (bb #1924 )
...
All bytecode functions are loaded in a single module, the bounds verifier is
run, and then stack protectors are inserted.
The problem is that when the next bytecode function is loaded, all functions get
run through the verifier again (including those which got the stack protector
applied), and the bounds verifier rejects it (it doesn't know about stack
protectors).
The fix is to skip running the bounds verifier when a function already has the
stack protector applied, when run in libclamav.
This affects only loading of multiple unsigned bytecodes, or an unsigned
bytecode + bytecode.cvd.
Load of a single unsigned bytecode works, and load of multiple signed bytecodes
is not affected (since the verifier is skipped there).
15 years ago
Török Edvin
ecdd4de7d3
More dist fixes.
...
libclamav/c++/llvm/include/llvm/System/DataTypes.h is autogenerated file.
ChangeLog is automatically shipped, no need to add to EXTRA_DIST.
15 years ago
Török Edvin
8fb24f8bd4
Fix unit test failure with non-English locale (bb #1922 ).
...
Drop the use of svnversion, we no longer use SVN, and svnversion was outputting
a localized message for 'exported', which broke version generation.
15 years ago
Török Edvin
3590033322
Fix SpecificBumpPtrAllocator destructor iteration.
...
This is LLVM SVN r100184, thanks to Nicolas Capens!
15 years ago
Török Edvin
c8f3cdbf31
Fix the PowerPC workaround to not crash when not using the JIT.
15 years ago
Török Edvin
f121d43df8
Workaround LLVM JIT PowerPC relocation bug (bb #1921 ).
...
Based on Gary Benson's workaround for OpenJDK Shark / IcedTea.
15 years ago
Tomasz Kojm
31b77b3fb5
bump LC_REVISION & CL_FLEVEL
15 years ago
Tomasz Kojm
224fee54dd
libclamav/mspack.c: fix Quantum decompressor (bb#1771)
15 years ago
Tomasz Kojm
158c35e81a
libclamav/mspack.c: improve unpacking of malformed cabinets (bb#1826)
15 years ago
aCaB
a8e6b43214
add recovery mode to 7z ansi
15 years ago
Török Edvin
fb658071b1
Fix Ctrl-C handler on win32, thanks Sherpya!
15 years ago
Török Edvin
c5fb062ec3
Workaround bb #1898 .
...
Solaris has 2 greps, one archaic that doesn't know -E and -F,
and one that does. Configure finds the correct one, but
'make check' was using the wrong one.
This patch makes 'lit' substitute 'grep ' with the path to the
correct grep.
15 years ago
Török Edvin
80ce1001ac
Pull LLVM 2.7 release branch last time.
...
commit e22017866c72c9b40ff2b344e63531b08a28045e
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 23:03:45 2010 +0000
Merge 98095 from mainline. Fix for PR5893.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99958 91177308-0d34-0410-b5e6-96231b3b80d8
commit c31826dd21149ef0099bd6351bbab473e52985be
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 23:03:09 2010 +0000
Merge 98074 from mainline. Fix for PR5893.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99956 91177308-0d34-0410-b5e6-96231b3b80d8
commit 719b038134bae6170947fbc68b52519ed6667fc6
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 23:01:26 2010 +0000
Merge 99620 from mainline.
Do not sibcall if stack needs to be dynamically aligned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99955 91177308-0d34-0410-b5e6-96231b3b80d8
commit 15bea010408543e85c1b2434905b72e5f14ffda5
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 18:36:57 2010 +0000
Merge 99762 from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99908 91177308-0d34-0410-b5e6-96231b3b80d8
commit 17fa49b13862afbf4bc8a89f8e5d0246cde70b6c
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 18:35:26 2010 +0000
Merge 99043 from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99907 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf8b733ad5d4587dee92a34c7ae2e8ce74aeee17
Author: Tanya Lattner <tonic@nondot.org>
Date: Tue Mar 30 18:33:25 2010 +0000
Merge 98701 from mainline.
Fix death tests in -Assert builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99906 91177308-0d34-0410-b5e6-96231b3b80d8
15 years ago
Török Edvin
b00a7cc8f8
jsnorm api.
15 years ago
Török Edvin
bad09d56f8
Do the atomic builtin tests using the C++ compiler, since only C++ sources need it (bb #1904 ).
15 years ago
Török Edvin
556eaf0442
Update ClamBCRTChecks.cpp from bytecode compiler:
...
Check bounds of each pointer passed to/from APIcalls,
forbid recursion.
15 years ago
Török Edvin
3ae7d79401
Remove some unused LLVM test files.
15 years ago
Török Edvin
acb31e8afa
Merge LLVM SVN r99883, fix double frees.
15 years ago
Török Edvin
5b3a41e04d
Merge LLVM SVN r99881 to fix some more VNInfo leaks.
...
Introduce another Reset() method in BumpPtrAllocator that calls a destructor
on all objects it has allocated, if they are all of the same size and alignment.
Use this to destruct all VNInfos allocated in LiveIntervalAnalysis (PR6653).
valnos is not reliable for this purpose, as seen in r99400
(which still leaked, and sometimes caused double frees).
15 years ago
Török Edvin
b2de4fd85f
Minor optimization in JIT loader.
15 years ago
Török Edvin
dcaa403826
Fix use-of-uninit memory on zeroinitializer.
15 years ago