Micah Snyder
38fe8b69a0
Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections.
2019-10-02 16:08:16 -04:00
Micah Snyder
964a1e7321
Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code.
2018-04-02 07:58:33 -04:00
Steven Morgan
8845ad3a46
Revert "Patch by Robert Scheck <robert@fedoraproject.org> for clamav >= 0.99.1 which changes the SELinux boolean name from the obsolete (and former alias) clamd_use_jit to the current antivirus_use_jit. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1295473 "
...
Reverted per bug 1901 comment 11.
This reverts commit 69fd72a4da
.
2016-03-30 13:21:26 -04:00
Steven Morgan
69fd72a4da
Patch by Robert Scheck <robert@fedoraproject.org> for clamav >= 0.99.1 which changes the SELinux boolean name from the obsolete (and former alias) clamd_use_jit to the current antivirus_use_jit. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1295473
2016-03-30 12:27:53 -04:00
Mickey Sola
46a35abe56
mass update of copyright headers
2015-09-17 13:41:26 -04:00
Török Edvin
4cabb6c0e9
Update builtin bytecode (bb #2089 ).
...
Reenable JIT on CPUs without CMOV, since LLVM 2.8 fixed it, only on 0.97+.
2010-11-10 17:14:18 +02:00
Török Edvin
89e80e83a8
Don't disable the JIT on pentium4 (bb #2345 ).
...
startup bytecode was checking for 'pentium' as substring, not as string,
and matched on pentium4, when it shouldn't have.
2010-10-31 09:15:16 +02:00
Török Edvin
90920e3fc8
Disable JIT on CPU without CMOV (bb #2327 ).
...
LLVM 2.7 has a bug, where it generates CMOV even on CPUs without CMOV.
2.8 has it fixed, which we'll update to in 0.97 only, so disable JIT on these
old CPUs for now.
2010-10-18 13:47:28 +03:00
Török Edvin
e2a499a09b
Fix PaX.
2010-08-09 22:38:16 +03:00
Török Edvin
a8935f90b9
Update startup.cbc (bb #2151 ).
...
It is a compiler bug, shortcircuiting the bigendian path to
return 0xdead11.
Since this test is meant to test libclamav, disable this test for now.
When the compiler is fixed (bb #2157 ) the test can be readded.
2010-08-02 19:00:31 +03:00
Török Edvin
d3f99af1ea
Remove duplicate header.
2010-07-29 19:38:48 +03:00
Török Edvin
dbd3ed9345
Make BC_STARTUP run a minimal self-test.
...
Also change return value to something else than 0.
It is too easy for buggy bytecode to return 0.
2010-07-29 19:34:54 +03:00
Török Edvin
0d4c99465e
Add the builtin bytecode.
2010-07-29 14:06:56 +03:00