Mercurial > dropbear
comparison Makefile.in @ 1777:97ad26e397a5
Add server postauth fuzzer, wrap connect_remote()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 13 Nov 2020 23:18:05 +0800 |
parents | 8179eabe16c9 |
children | 918e49decafa |
comparison
equal
deleted
inserted
replaced
1776:290caf301a4f | 1777:97ad26e397a5 |
---|---|
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 fuzzer-client_nomaths | 272 fuzzer-kexdh fuzzer-kexecdh fuzzer-kexcurve25519 fuzzer-client fuzzer-client_nomaths \ |
273 fuzzer-postauth_nomaths | |
273 | 274 |
274 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS)) | 275 FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS)) |
275 FUZZ_OBJS = $(addprefix fuzz/,$(addsuffix .o,$(FUZZ_TARGETS))) \ | 276 FUZZ_OBJS = $(addprefix fuzz/,$(addsuffix .o,$(FUZZ_TARGETS))) \ |
276 fuzz/fuzz-sshpacketmutator.o | 277 fuzz/fuzz-sshpacketmutator.o |
277 | 278 |
292 $(FUZZ_TARGETS): $(FUZZ_OBJS) $(allobjs) $(LIBTOM_DEPS) | 293 $(FUZZ_TARGETS): $(FUZZ_OBJS) $(allobjs) $(LIBTOM_DEPS) |
293 $(CXX) $(CXXFLAGS) fuzz/[email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ | 294 $(CXX) $(CXXFLAGS) fuzz/[email protected] $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ |
294 | 295 |
295 # fuzzers that use the custom mutator - these expect a SSH network stream | 296 # fuzzers that use the custom mutator - these expect a SSH network stream |
296 MUTATOR_FUZZERS=fuzzer-client fuzzer-client_nomaths \ | 297 MUTATOR_FUZZERS=fuzzer-client fuzzer-client_nomaths \ |
297 fuzzer-preauth fuzzer-preauth_nomaths | 298 fuzzer-preauth fuzzer-preauth_nomaths fuzzer-postauth_nomaths |
298 $(MUTATOR_FUZZERS): allobjs += fuzz/fuzz-sshpacketmutator.o | 299 $(MUTATOR_FUZZERS): allobjs += fuzz/fuzz-sshpacketmutator.o |
299 | 300 |
300 fuzzer-%.options: Makefile | 301 fuzzer-%.options: Makefile |
301 echo "[libfuzzer]" > $@ | 302 echo "[libfuzzer]" > $@ |
302 echo "max_len = 50000" >> $@ | 303 echo "max_len = 50000" >> $@ |