Commit graph

22 commits

Author SHA1 Message Date
Val Snyder
7ff29b8c37
Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
Micah Snyder
9cb28e51e6 Bump copyright dates for 2024 2024-01-22 11:27:17 -05:00
Micah Snyder
6eebecc303 Bump copyright for 2023 2023-02-12 11:20:22 -08:00
micasnyd
140c88aa4e Bump copyright for 2022
Includes minor format corrections.
2022-01-09 14:23:25 -07:00
Micah Snyder
d46832d5cf clamav.net URL update for new docs, github issues
Replace new bugzilla ticket links with links to github issues.
Replace clamav.net/documentation links with docs.clamav.net equivalents.
2021-07-17 15:28:02 -07:00
Micah Snyder (micasnyd)
b9ca6ea103 Update copyright dates for 2021
Also fixes up clang-format.
2021-03-19 15:12:26 -07:00
Micah Snyder
206dbaefe8 Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
Micah Snyder
52cddcbcfd Updating and cleaning up copyright notices. 2019-10-02 16:08:18 -04:00
Micah Snyder
72fd33c8b2 clang-format'd using new .clang-format rules. 2019-10-02 16:08:16 -04:00
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