From e7a41dc69848e22e1e95173a085dbea8b7175c89 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 26 Oct 2020 23:31:24 +0800 Subject: Preallocate memory for sshpacketmutator. Add fuzzer-client_mutator_nomaths --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 2ee5e3d..682419a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -270,7 +270,7 @@ lint: # list of fuzz targets FUZZ_TARGETS=fuzzer-preauth fuzzer-pubkey fuzzer-verify fuzzer-preauth_nomaths \ fuzzer-kexdh fuzzer-kexecdh fuzzer-kexcurve25519 fuzzer-client fuzzer-client_nomaths \ - fuzzer-client_mutator + fuzzer-client_mutator fuzzer-client_mutator_nomaths FUZZER_OPTIONS = $(addsuffix .options, $(FUZZ_TARGETS)) FUZZ_OBJS = $(addprefix fuzz/,$(addsuffix .o,$(FUZZ_TARGETS))) \ @@ -293,7 +293,8 @@ fuzz-targets: $(FUZZ_TARGETS) $(FUZZER_OPTIONS) $(FUZZ_TARGETS): $(FUZZ_OBJS) $(allobjs) $(LIBTOM_DEPS) $(CXX) $(CXXFLAGS) fuzz/$@.o $(LDFLAGS) $(allobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) -lcrypt -fuzzer-client_mutator: allobjs += fuzz/fuzz-sshpacketmutator.o +# fuzzers that use the custom mutator +fuzzer-client_mutator fuzzer-client_mutator_nomaths: allobjs += fuzz/fuzz-sshpacketmutator.o fuzzer-%.options: Makefile echo "[libfuzzer]" > $@ -- cgit v1.2.1