From 111e37915723dac5bda197e5ec315247ae7ab63f Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Fri, 20 Aug 2021 16:16:50 +0100 Subject: [PATCH] clib: fix build and avoid detecting leaks (#6260) --- projects/clib/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/clib/build.sh b/projects/clib/build.sh index c48ba9d76..166ee45f7 100644 --- a/projects/clib/build.sh +++ b/projects/clib/build.sh @@ -29,8 +29,10 @@ $CC $CFLAGS -Wno-unused-function -U__STRICT_ANSI__ \ -I./deps/asprintf $CC $CFLAGS $LIB_FUZZING_ENGINE fuzz_manifest.o \ - -o $OUT/fuzz_manifest src/common/clib-package.c \ + -o $OUT/fuzz_manifest src/common/clib-settings.c src/common/clib-package.c \ src/common/clib-cache.c src/clib-configure.c \ -I./deps/asprintf -I./deps -I./asprintf \ fuzz_lib.a -L/usr/lib/x86_64-linux-gnu -lcurl +echo "[libfuzzer]" > $OUT/fuzz_manifest.options +echo "detect_leaks=0" >> $OUT/fuzz_manifest.options