pkgsrc/devel/afl/Makefile

18 lines
452 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2016/05/12 14:02:09 wiz Exp $
DISTNAME= afl-2.12b
CATEGORIES= devel
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lcamtuf.coredump.cx/afl/
COMMENT= American Fuzzy Lop, a fuzzing tool for finding bugs by random input
LICENSE= apache-2.0
Update to 1.40b: -------------- Version 1.40b: -------------- - Switched to smaller block op sizes during the first passes over the queue. Helps keep test cases small. - Added memory barrier for run_target(), just in case compilers get smarter than they are today. - Updated a bunch of docs. -------------- Version 1.39b: -------------- - Added the ability to skip inputs by sending SIGUSR1 to the fuzzer. - Reworked several portions of the documentation. - Changed the code to reset splicing perf scores between runs to keep them closer to intended length. - Reduced the minimum value of -t to 5 for afl-fuzz (~200 exec/sec) and to 10 for auxiliary tools (due to the absence of a fork server). - Switched to more aggressive default timeouts (rounded up to 25 ms versus 50 ms - ~40 execs/sec) and made several other cosmetic changes to the timeout code. -------------- Version 1.38b: -------------- - Fixed a bug in the QEMU build script, spotted by William Robinet. - Improved the reporting of skipped bitflips to keep the UI counters a bit more accurate. - Cleaned up related_work.txt and added some non-goals. - Fixed typos, thanks to Jakub Wilk. -------------- Version 1.37b: -------------- - Added effector maps, which detect regions that do not seem to respond to bitflips and subsequently exclude them from more expensive steps (arithmetics, known ints, etc). This should offer significant performance improvements with quite a few types of text-based formats, reducing the number of deterministic execs by a factor of 2 or so. - Cleaned up mem limit handling in afl-cmin. - Switched from uname -i to uname -m to work around Gentoo-specific issues with coreutils when building QEMU. Reported by William Robinet. - Switched from PID checking to flock() to detect running sessions. Problem, against all odds, bumped into by Jakub Wilk. - Added SKIP_COUNTS and changed the behavior of COVERAGE_ONLY in config.h. Useful only for internal benchmarking. - Made improvements to UI refresh rates and exec/sec stats to make them more stable. - Made assorted improvements to the documentation and to the QEMU build script. - Switched from perror() to strerror() in error macros, thanks to Jakub Wilk for the nag. - Moved afl-cmin back to bash, wasn't thinking straight. It has to stay on bash because other shells may have restrictive limits on array sizes.
2015-02-08 17:09:59 +01:00
USE_TOOLS+= bash:run gmake
REPLACE_SH+= afl-plot
REPLACE_BASH+= afl-cmin
.include "../../mk/bsd.pkg.mk"