August 23, 2019
View 2e06875

bb12370 - cli_strndup and other str* replacements must be built and exported for every OS to be used outside of libclamav on systems that don't have the original functions (e.g. strndup). This commit renames the macros to be uppercase, renames the replacement functions to be preceeded with two understores (e.g. __cli_strndup), and removes the ifdef's so that they are built regardless, because there are no ifdefs in libclamav.map.

Micah Snyder authored on 2019/08/23 05:51:01
May 4, 2019
View 544fa97

Converted mpool calls to macros when USE_MPOOL is defined to clearly differentiate between function and macro behavior.

Micah Snyder authored on 2019/05/04 07:16:03
February 27, 2019
View 102cd43

Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings.

Micah Snyder authored on 2019/02/27 14:47:38
January 26, 2019
View e1cbc27

Updating and cleaning up copyright notices.

Micah Snyder authored on 2019/01/26 00:15:50
December 6, 2018
View e030ba4

Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h.

Micah Snyder authored on 2018/12/06 10:46:20
December 4, 2018
View 288057e

clang-format'd using new .clang-format rules.

Micah Snyder authored on 2018/12/04 02:40:13
View 27948a0

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.

Micah Snyder authored on 2018/12/04 02:37:58
November 17, 2018
View 4d860bd

bb12221: Fix for subtle type-mismatch that could result in an infinite loop with a large number of sigs.

Micah Snyder (micasnyd) authored on 2018/11/17 04:50:48
July 21, 2018
View 048a88e

Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files.

Micah Snyder authored on 2018/07/21 11:28:48
December 20, 2017
View 927b2ba

bb11992: cleaning up some variable initialization.

Micah Snyder authored on 2017/12/20 22:27:21
September 22, 2017
View d0cba11

adding back changes to eliminate warnings from mspack, matcher, others, and readdb.

Micah Snyder authored on 2017/09/22 02:10:01
September 21, 2017
View 169af0f

Revert "eliminating warnings. mostly correcting variable types. also correcting struct initialization in a couple instances (var = {0} does not zero the memory on all platforms). Also some minor formatting corrections in areas I was already working. eliminated some unused variables."

Micah Snyder authored on 2017/09/21 01:37:07
September 1, 2017
View 8efbf4a

eliminating compile warnings in windows 10, vs2015, x86 and x64.

Micah Snyder authored on 2017/09/01 05:38:41
August 16, 2017
View 84a7f40

eliminating warnings. mostly correcting variable types. also correcting struct initialization in a couple instances (var = {0} does not zero the memory on all platforms). Also some minor formatting corrections in areas I was already working. eliminated some unused variables.

Micah Snyder authored on 2017/08/16 03:00:07
August 10, 2017
View 14e2247

updating the copyright for a number of tiles.

Micah Snyder authored on 2017/08/10 03:28:47