comparison Makefile.in @ 1380:d201105df2ed fuzz

add fuzzer-verify
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 May 2017 00:20:01 +0800
parents dd5d7b7141b9
children 4afde04f0607
comparison
equal deleted inserted replaced
1379:616417b27f55 1380:d201105df2ed
243 mv [email protected] $@ 243 mv [email protected] $@
244 244
245 ## Fuzzing targets 245 ## Fuzzing targets
246 246
247 # list of fuzz targets 247 # list of fuzz targets
248 FUZZ_TARGETS=fuzzer-preauth fuzzer-pubkey 248 FUZZ_TARGETS=fuzzer-preauth fuzzer-pubkey fuzzer-verify
249 249
250 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS)) 250 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS))
251 251
252 list-fuzz-targets: 252 list-fuzz-targets:
253 @echo $(FUZZ_TARGETS) 253 @echo $(FUZZ_TARGETS)
266 266
267 fuzzer-preauth: fuzzer-preauth.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 267 fuzzer-preauth: fuzzer-preauth.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs)
268 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ 268 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
269 269
270 fuzzer-pubkey: fuzzer-pubkey.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 270 fuzzer-pubkey: fuzzer-pubkey.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs)
271 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
272
273 fuzzer-verify: fuzzer-verify.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs)
271 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ 274 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@
272 275
273 fuzzer-%.options: Makefile 276 fuzzer-%.options: Makefile
274 echo "[libfuzzer]" > $@ 277 echo "[libfuzzer]" > $@
275 echo "max_len = 50000" >> $@ 278 echo "max_len = 50000" >> $@