From bf29598ac9aec163fb3618c12eac2795c41d3f60 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Wed, 3 Jul 2024 01:23:35 +0200 Subject: [PATCH] nDPI: exclude custom mutator code from coverage report (#12154) See: #12143 --- projects/ndpi/project.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/ndpi/project.yaml b/projects/ndpi/project.yaml index ce7c22d36..3f6335a37 100644 --- a/projects/ndpi/project.yaml +++ b/projects/ndpi/project.yaml @@ -9,3 +9,8 @@ sanitizers: - undefined - memory main_repo: 'https://github.com/ntop/nDPI.git' + +#Coverage report doesn't analyze custom mutator code (see https://github.com/google/oss-fuzz/issues/12143) +# -> exclude it. Note that we keep including all the other third-parties code +coverage_extra_args: > + -ignore-filename-regex=src/lib/third_party/src/fuzz/.*