fuzzing: Also run input that previously caused crashes
authorTobias Brunner <tobias@strongswan.org>
Wed, 31 May 2017 12:37:27 +0000 (14:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 15 Aug 2017 08:35:20 +0000 (10:35 +0200)
fuzz/Makefile.am

index 927ace7..bdc3e2e 100644 (file)
@@ -26,4 +26,6 @@ check: all
                corpus=$${f#fuzz_}; \
                corpus=$${corpus%%_*}; \
                ./$$f $(FUZZING_CORPORA)/$${corpus}/*; \
+               crashes=$(FUZZING_CORPORA)/$${corpus}-crash; \
+               test ! -d $${crashes} || ./$$f $${crashes}/*; \
        done