Micah Snyder
9e268996a7
json api return types converted to cl_error_t from int
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
Micah Snyder
d7979d4ff7
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.
...
Updated libclamav documentation detailing new scan options structure.
Renamed references to 'algorithmic' detection to 'heuristic' detection. Renaming references to 'properties' to 'collect metadata'.
Renamed references to 'scan all' to 'scan all match'.
Renamed a couple of 'Hueristic.*' signature names as 'Heuristics.*' signatures (plural) to match majority of other heuristics.
2018-12-02 23:06:59 -05:00
Mickey Sola
b7b81ae7a0
misc - removing duplicate code from json_api
2016-10-17 14:56:52 -04:00
Kevin Lin
8e58605338
jsonapi: add object ownership manipulation and deletion
2016-05-26 17:05:35 -04:00
Kevin Lin
b6549d301e
json: allow for object or array insertion into array
2015-12-17 16:18:17 -05:00
Steven Morgan
32ad1c56bd
bb11388 memory allocation failure handling. Patches by Bill Parker.
2015-09-16 14:42:33 -04:00
Kevin Lin
4e2ae35b58
json_api: added parse error reporting function
...
msxml: added parsing error reporting to preclass json
2015-03-13 14:18:37 -04:00
Kevin Lin
0dab1f31b6
json_api: added unused function definition
2014-07-03 12:37:12 -04:00
Kevin Lin
8f8c555550
json_api: added support for adding values to json arrays
2014-07-03 12:03:12 -04:00
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
2014-07-01 19:38:01 -04:00
Shawn Webb
060a57d28c
Enable use of older json-c libraries
2014-06-25 20:29:55 -04:00
Kevin Lin
165cf21e11
fixed runtime issues in json_api
2014-06-25 16:08:23 -04:00
Kevin Lin
8c338ea910
changed json_object_object_get => json_object_object_get_ex
...
changed cycle timeout checks to be performed on 0 and use skipping
2014-06-25 15:54:57 -04:00
Kevin Lin
8f94be586b
modified json_api functions to exhibit the same behavior
2014-06-25 13:11:00 -04:00
Kevin Lin
20b45621cb
added pre-class timeouts for ms-docs and pe files
2014-06-25 13:08:18 -04:00
Shawn Webb
cd1d52d184
Fix a couple bugs and add the ability to note which objects contain Javascript
2014-06-17 16:42:58 -04:00
Kevin Lin
5899095f46
CID 12072 - added mssing return
2014-06-16 10:42:08 -04:00
Shawn Webb
d7ee9b8145
Add additional helper functions to simplify working with JSON arrays
2014-06-13 20:39:52 -04:00
Kevin Lin
dec128ce32
CIDs 12063 12064 - missing returns
2014-06-05 17:33:09 -04:00
Kevin Lin
5d93a53789
downgraded nullargs to json api from error to debug messages
2014-06-03 14:28:40 -04:00
Kevin Lin
9a7511a195
json_api: fixed null object generation
2014-05-06 13:49:09 -04:00
Shawn Webb
221825fd59
Update copyright information.
2014-04-30 15:42:11 -04:00
Kevin Lin
b2743d5d1f
json_api: added cli_jsonstrlen for truncating strings for json
2014-04-30 15:16:11 -04:00
Kevin Lin
a69adec148
json_api: returns error codes or CL_SUCCESS w or w/o JSON
...
doc/ppt/xls: propagates error codes to topmost lvl w/ premature termination
2014-04-24 14:22:00 -04:00
Kevin Lin
a094a72931
json_api: added NULLARG checks
2014-04-22 15:52:31 -04:00
Kevin Lin
849a2cef36
json: added parent object NULL check
...
ole2: fixed a minor issue
2014-04-22 14:58:38 -04:00
Kevin Lin
9fdbf2c73a
json: added json api source files, source moved from ole2 specifics
2014-04-22 14:22:39 -04:00