Val Snyder
7ff29b8c37
Bump copyright dates for 2025
2025-02-14 10:24:30 -05:00
Micah Snyder
a729aafc38
Remove PCRE dead code
...
As of ClamAV 0.105, PCRE2 is required. PCRE (1) is not an option, and
there is also no option to disable PCRE support.
This commit removes the dead code associated with those old build
options.
2024-04-13 12:34:15 -04: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
Michael Orlitzky
7374029897
*/*: fix invalid prototypes.
...
Prototypes (or the declarations themselves, if there is no
corresponding prototype) for functions that take no arguments are
required by the C standard to specify (void) as their argument list;
for example,
regex_pcre.h:79:1: error: function declaration isn't a prototype
[-Werror=strict-prototypes]
79 | cl_error_t cli_pcre_init_internal();
Future versions of clang may become strict about this, and there's no
harm in conforming to the standard right now, so we fix all such
instances in this commit.
2022-11-22 23:22:57 -08:00
Micah Snyder
dd37f766a0
PCRE: Remove allmatch check + minor code cleanup
2022-10-19 13:13:57 -07:00
micasnyd
140c88aa4e
Bump copyright for 2022
...
Includes minor format corrections.
2022-01-09 14:23:25 -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
95f456424a
Variable type corrections for pcre/pcre2 code.
2019-10-02 16:08:25 -04:00
Micah Snyder
5f4f69102d
Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings.
2019-10-02 16:08:25 -04:00
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
2019-10-02 16:08:18 -04:00
Micah Snyder
b3e82e5e61
Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h.
2019-10-02 16:08:17 -04:00
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
2019-10-02 16:08:16 -04:00
Kevin Lin
5841080a9c
PCRE2 support
2016-02-29 11:05:20 -05:00
Mickey Sola
46a35abe56
mass update of copyright headers
2015-09-17 13:41:26 -04:00
Kevin Lin
a6d2b523d0
bb#11377 - stub pcre functions for dynamic library mapping
2015-08-21 12:43:26 -04:00
Kevin Lin
df3e211adc
added pcre source for windows build; needs trimming
2015-05-29 17:10:19 -04:00
Kevin Lin
e1ab4becdb
general code clean-up and adjustments
2014-09-23 13:43:55 -04:00
Kevin Lin
e33697ef35
pcre: clarified macro name
2014-09-17 16:36:06 -04:00
Kevin Lin
0d94646ec4
pcre: separated match report from execution
2014-09-16 13:49:01 -04:00
Kevin Lin
39597f2557
pcre: added compiler option parsing
2014-09-02 17:22:22 -04:00
Kevin Lin
3f8f8721a1
pcre: fixed an issue where expression was not copied
...
pcre: added search offset override to cli_pcre_match
2014-08-26 12:31:11 -04:00
Kevin Lin
9bc7c13882
pcre: added and linked options to set match_limit and match_limit_recursion
...
pcre: separated parsing function into parsing and compiling functions
2014-08-25 19:11:12 -04:00
Kevin Lin
7afaa9bd22
pcre: encased pcre segments in macros to fix build without pcre support
2014-08-25 15:07:30 -04:00
Kevin Lin
f40a96fbda
pcre: implemented rough support for matching and count
...
HIGHLY EXPERIMENTAL
2014-08-22 17:29:40 -04:00
Kevin Lin
5fa733692a
pcre: support and linking for parsing and freeing
2014-08-22 14:39:17 -04:00