summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-26 23:31:24 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-26 23:31:24 +0800
commitbf4058d1df8ba63fbdacd904aafe08c686f035f5 (patch)
treeac8f48f9698d765c08dd1bfa878374abdb0c068c /Makefile.in
parent4d716b63027f62e9dd8544e459dcbc419267280a (diff)
Preallocate memory for sshpacketmutator. Add fuzzer-client_mutator_nomaths
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
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]" > $@