vapier      15/02/28 22:49:13

  Modified:             Makefile
  Log:
  add a fuzz target

Revision  Changes    Path
1.88                 pax-utils/Makefile

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.88&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.88&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.87&r2=1.88

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- Makefile    21 Feb 2015 19:30:45 -0000      1.87
+++ Makefile    28 Feb 2015 22:49:13 -0000      1.88
@@ -1,6 +1,6 @@
 # Copyright 2003-2006 Ned Ludd <[email protected]>
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.87 2015/02/21 
19:30:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.88 2015/02/28 
22:49:13 vapier Exp $
 ####################################################################
 
 check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 
2>&1; \
@@ -76,6 +76,12 @@
        @-chpax  -permsx $(ELF_TARGETS)
        @-paxctl -permsx $(ELF_TARGETS)
 
+fuzz: clean
+       $(MAKE) AFL_HARDEN=1 CC=afl-gcc all
+       @rm -rf findings
+       @printf '\nNow run:\n%s\n' \
+               "afl-fuzz -t 100 -i tests/fuzz/small/ -o findings/ ./scanelf -s 
'*' -axetrnibSDIYZB @@"
+
 compile.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(CPPFLAGS-$<) -o $@ -c $<
 
 ifeq ($(V),)




Reply via email to