annotate Makefile @ 21:1a22de6a6b1a

Script to fetch new corpus and update the repository
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Mar 2021 16:06:25 +0800
parents 6b857c4abe66
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
6b857c4abe66 Add new fuzzers to the list
Matt Johnston <matt@ucc.asn.au>
parents: 3
diff changeset
1 FUZZ_TARGETS=fuzzer-preauth fuzzer-preauth_nomaths fuzzer-pubkey fuzzer-verify \
6b857c4abe66 Add new fuzzers to the list
Matt Johnston <matt@ucc.asn.au>
parents: 3
diff changeset
2 fuzzer-client fuzzer-client_nomaths fuzzer-kexcurve25519 fuzzer-kexdh fuzzer-kexecdh fuzzer-postauth_nomaths
0
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 CORPUSES = $(addsuffix _seed_corpus.zip, $(FUZZ_TARGETS))
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6 all: $(CORPUSES)
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 %_seed_corpus.zip: %/* Makefile
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 -rm $@
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 cd $*; zip ../$@ *
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 list-fuzz-targets:
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13 @echo $(FUZZ_TARGETS)
ec5e2b121e57 Dropbear fuzz corpus
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14