From 50f17d34e6fa2cfeca1b784a8a0c7b92e3a317a3 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Tue, 29 Oct 2024 14:27:39 -0700 Subject: [PATCH] fuzz: add coverage build Fixes coverage introspection Signed-off-by: Curtis Malainey --- app/configs/fuzz_coverage.conf | 2 ++ scripts/fuzz.sh | 1 + 2 files changed, 3 insertions(+) create mode 100644 app/configs/fuzz_coverage.conf diff --git a/app/configs/fuzz_coverage.conf b/app/configs/fuzz_coverage.conf new file mode 100644 index 000000000..baa08487a --- /dev/null +++ b/app/configs/fuzz_coverage.conf @@ -0,0 +1,2 @@ +CONFIG_COVERAGE=y +CONFIG_COVERAGE_NATIVE_SOURCE=y diff --git a/scripts/fuzz.sh b/scripts/fuzz.sh index 933856c04..e29a0eed1 100755 --- a/scripts/fuzz.sh +++ b/scripts/fuzz.sh @@ -125,6 +125,7 @@ main() case $SANITIZER in address) conf_files_list+=";configs/fuzz_asan.conf";; undefined) conf_files_list+=";configs/fuzz_ubsan.conf";; + coverage) conf_files_list+=";configs/fuzz_coverage.conf";; *) echo "Unknown fuzzer type"; print_help; exit 1;; esac