commit b3c6b56667dc50f905fd2790db0b9fb921da4f56
parent 39a72e1927ba10386760072566702c35ffdda62a
Author: David Goulet <dgoulet@torproject.org>
Date: Mon, 3 Mar 2025 13:46:56 +0000
Merge branch 'floating-point-fuzzing' into 'main'
float-divide-by-zero set in libfuzzer
Closes #24745
See merge request tpo/core/tor!859
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/codegen/fuzzing_include_am.py b/scripts/codegen/fuzzing_include_am.py
@@ -50,7 +50,7 @@ noinst_HEADERS += \
LIBFUZZER_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBFUZZER_CFLAGS = $(FUZZING_CFLAGS)
-LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG) -fsanitize=fuzzer
+LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG) -fsanitize=fuzzer,float-divide-by-zero
LIBFUZZER_LIBS = $(FUZZING_LIBS) -lstdc++
LIBOSS_FUZZ_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ