summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-06-14 13:05:03 -0400
committerNick Mathewson <nickm@torproject.org>2021-06-14 13:05:03 -0400
commit982829650c59d6807e8c720028c9d766d69cb57c (patch)
tree53f0f57582776f1b08aa97c367e2999e0a950624 /scripts
parentec2094a76e74d2fcca96593058b6a422419b628e (diff)
parentd2256fe9cea6407258a53f68c64723aef19bd41c (diff)
downloadtor-982829650c59d6807e8c720028c9d766d69cb57c.tar.gz
tor-982829650c59d6807e8c720028c9d766d69cb57c.zip
Merge remote-tracking branch 'tor-gitlab/mr/397'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/codegen/fuzzing_include_am.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/codegen/fuzzing_include_am.py b/scripts/codegen/fuzzing_include_am.py
index b52b956f81..ddad8e6c3b 100755
--- a/scripts/codegen/fuzzing_include_am.py
+++ b/scripts/codegen/fuzzing_include_am.py
@@ -11,11 +11,9 @@ FUZZERS = """
diff
diff-apply
extrainfo
- hsdescv2
hsdescv3
http
http-connect
- iptsv2
microdesc
socks
strops
@@ -47,11 +45,10 @@ oss-fuzz-prereqs: \
noinst_HEADERS += \
src/test/fuzz/fuzzing.h
-LIBFUZZER = -lFuzzer
LIBFUZZER_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBFUZZER_CFLAGS = $(FUZZING_CFLAGS)
-LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
-LIBFUZZER_LIBS = $(FUZZING_LIBS) $(LIBFUZZER) -lstdc++
+LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG) -fsanitize=fuzzer
+LIBFUZZER_LIBS = $(FUZZING_LIBS) -lstdc++
LIBOSS_FUZZ_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBOSS_FUZZ_CFLAGS = $(FUZZING_CFLAGS)