diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-03-14 19:34:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 19:34:01 +0100 |
commit | 9eff075419cbb0fe2758d7f8505359e3130e6df6 (patch) | |
tree | 0b3424322cbe3f01765a54b060f10c6b516712ce /windows/nDPI.vcxproj | |
parent | 3585e2d2011e82f0c4ab28c1a23a3844e979eb7f (diff) |
fuzz: simplify fuzzers dependencies in CIFuzz (#1896)
CIFuzz (based on oss-fuzz) is the GitHub action/CI job that runs fuzz
targets on pull requests. It only runs the fuzzers affected by a pull
request/commit. Otherwise it will divide up the allotted fuzzing time
among all fuzzers in the project.
Since:
* we have more than 20 fuzzers and most of them use the custom memory
allocation functions (to force allocation failures) even if they are not
strictly about DPI stuff;
* we need to keep fuzzing time relatively small (to avoid waiting the CI
results for a long time)
it is important that fuzzers dependencies (which are based on *files*
changed by the single commit/PR) are as small as possible.
Bottom line: move all the low-level allocation callbacks to a dedicated
file; this way most of the fuzzers don't depend anymore on `ndpi_main.c`
file (which is touched by ever commit/PR).
The goal is to have only the "most important" fuzzers running during (most
of) the CI.
Diffstat (limited to 'windows/nDPI.vcxproj')
-rw-r--r-- | windows/nDPI.vcxproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/nDPI.vcxproj b/windows/nDPI.vcxproj index f0bf2ff80..a611380d2 100644 --- a/windows/nDPI.vcxproj +++ b/windows/nDPI.vcxproj @@ -128,6 +128,7 @@ <ClCompile Include="..\src\lib\ndpi_community_id.c" /> <ClCompile Include="..\src\lib\ndpi_geoip.c" /> <ClCompile Include="..\src\lib\ndpi_main.c" /> + <ClCompile Include="..\src\lib\ndpi_memory.c" /> <ClCompile Include="..\src\lib\ndpi_serializer.c" /> <ClCompile Include="..\src\lib\ndpi_utils.c" /> <ClCompile Include="..\src\lib\protocols\activision.c" /> |