From bd7e5d10bab7a00e3b48d42e6a71abeea7fec621 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 12 Aug 2019 23:07:16 -0400 Subject: Set up afl-fuzz --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index db34005..0cae642 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,13 @@ chroot.tar: ${BINS} clean: rm -fr ${BINS} tags chroot.tar root + +fuzz: term afl/input/clear + afl-fuzz -i afl/input -o afl/output -- ./term + +term: term.c term.h + ${CC} ${CFLAGS} -DTERM_MAIN ${LDFLAGS} term.c -o term + +afl/input/clear: + mkdir -p afl/input + clear > afl/input/clear -- cgit 1.4.1