comparison Makefile.in @ 1742:6e71440b1e47 fuzz

Add fuzzer-client_nomaths, fix client fuzzer
author Matt Johnston <matt@ucc.asn.au>
date Sun, 18 Oct 2020 15:08:54 +0800
parents d1b279aa5ed1
children 7cb8bc5ce8b9
comparison
equal deleted inserted replaced
1741:d1b279aa5ed1 1742:6e71440b1e47
267 267
268 ## Fuzzing targets 268 ## Fuzzing targets
269 269
270 # list of fuzz targets 270 # list of fuzz targets
271 FUZZ_TARGETS=fuzzer-preauth fuzzer-pubkey fuzzer-verify fuzzer-preauth_nomaths \ 271 FUZZ_TARGETS=fuzzer-preauth fuzzer-pubkey fuzzer-verify fuzzer-preauth_nomaths \
272 fuzzer-kexdh fuzzer-kexecdh fuzzer-kexcurve25519 fuzzer-client 272 fuzzer-kexdh fuzzer-kexecdh fuzzer-kexcurve25519 fuzzer-client fuzzer-client_nomaths
273 273
274 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS)) 274 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS))
275 275
276 list-fuzz-targets: 276 list-fuzz-targets:
277 @echo $(FUZZ_TARGETS) 277 @echo $(FUZZ_TARGETS)
307 307
308 fuzzer-kexcurve25519: fuzzer-kexcurve25519.o fuzz-harness.o 308 fuzzer-kexcurve25519: fuzzer-kexcurve25519.o fuzz-harness.o
309 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ 309 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
310 310
311 fuzzer-client: fuzzer-client.o fuzz-harness.o 311 fuzzer-client: fuzzer-client.o fuzz-harness.o
312 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
313
314 fuzzer-client_nomaths: fuzzer-client_nomaths.o fuzz-harness.o
312 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ 315 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
313 316
314 fuzzer-%.options: Makefile 317 fuzzer-%.options: Makefile
315 echo "[libfuzzer]" > $@ 318 echo "[libfuzzer]" > $@
316 echo "max_len = 50000" >> $@ 319 echo "max_len = 50000" >> $@