Update to 1.36b: -------------- Version 1.36b: -------------- - Switched afl-cmin over to /bin/sh. Thanks to Jonathan Gray. - Fixed an off-by-one bug in queue limit check when resuming sessions (could cause NULL ptr deref if you are *really* unlucky). - Fixed the QEMU script to tolerate i686 if returned by uname -i. Based on a problem report from Sebastien Duquette. - Added multiple references to Jakub's ppvm tool. - Made several minor improvements to the Makefile. - Believe it or not, fixed some typos. Thanks to Jakub Wilk. -------------- Version 1.35b: -------------- - Cleaned up regular expressions in some of the scripts to avoid errors on *BSD systems. Spotted by Jonathan Gray. -------------- Version 1.34b: -------------- - Performed a substantial documentation and program output cleanup to better explain the QEMU feature. -------------- Version 1.33b: -------------- - Added support for AFL_INST_RATIO and AFL_INST_LIBS in the QEMU mode. - Fixed a stack allocation crash in QEMU mode (bug in QEMU, fixed with an extra patch applied to the downloaded release). - Added code to test the QEMU instrumentation once the afl-qemu-trace binary is built. - Modified afl-tmin and afl-showmap to search $PATH for binaries and to better handle QEMU support. - Added a check for instrumented binaries when passing -Q to afl-fuzz. -------------- Version 1.32b: -------------- - Fixed 'make install' following the QEMU changes. Spotted by Hanno Boeck. - Fixed EXTRA_PAR handling in afl-cmin. -------------- Version 1.31b: -------------- - Hallelujah! Thanks to Andrew Griffiths, we now support very fast, black-box instrumentation of binary-only code. See qemu_mode/README.qemu. To use this feature, you need to follow the instructions in that directory and then run afl-fuzz with -Q. -------------- Version 1.30b: -------------- - Added -s (summary) option to afl-whatsup. Suggested by Jodie Cunningham. - Added a sanity check in afl-tmin to detect minimization to zero len or excess hangs. - Fixed alphabet size counter in afl-tmin. - Slightly improved the handling of -B in afl-fuzz. - Fixed process crash messages with -m none. -------------- Version 1.29b: -------------- - Improved the naming of test cases when orig: is already present in the file name. - Made substantial improvements to technical_details.txt. -------------- Version 1.28b: -------------- - Made a minor tweak to the instrumentation to preserve the directionality of tuples (i.e., A -> B != B -> A) and to maintain the identity of tight loops (A -> A). You need to recompile targeted binaries to leverage this. - Cleaned up some of the afl-whatsup stats. - Added several sanity checks to afl-cmin. -------------- Version 1.27b: -------------- - Made afl-tmin recursive. Thanks to Hanno Boeck for the tip. - Added docs/technical_details.txt. - Changed afl-showmap search strategy in afl-cmap to just look into the same place that afl-cmin is executed from. Thanks to Jakub Wilk. - Removed current_todo.txt and cleaned up the remaining docs.diff -r1.11 -r1.12 pkgsrc/devel/afl/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2015/01/25 19:11:10 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2015/02/01 19:42:00 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= afl-1.26b | 3 | DISTNAME= afl-1.36b | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ | 5 | MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ | |
6 | EXTRACT_SUFX= .tgz | 6 | EXTRACT_SUFX= .tgz | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://lcamtuf.coredump.cx/afl/ | 9 | HOMEPAGE= http://lcamtuf.coredump.cx/afl/ | |
10 | COMMENT= American Fuzzy Lop, a fuzzing tool for finding bugs by random input | 10 | COMMENT= American Fuzzy Lop, a fuzzing tool for finding bugs by random input | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | USE_TOOLS+= gmake | 13 | USE_TOOLS+= gmake | |
14 | REPLACE_SH= afl-plot afl-cmin | 14 | REPLACE_SH= afl-plot afl-cmin | |
15 | 15 | |||
16 | .include "../../mk/bsd.pkg.mk" | 16 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2015/01/25 19:11:10 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.12 2015/02/01 19:42:01 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (afl-1.26b.tgz) = aaa0ccf559c53d47c4d8c9656680f7ad2d64bec6 | 3 | SHA1 (afl-1.36b.tgz) = 9f89a3d6468014f345f10b0c423f20580460db37 | |
4 | RMD160 (afl-1.26b.tgz) = 99ec3e6e5fe75e506c03012c86a7a4071fe6cc81 | 4 | RMD160 (afl-1.36b.tgz) = 95cf7d8bab71c167e67a1e4d4e71dc4b96cdb2ad | |
5 | Size (afl-1.26b.tgz) = 750456 bytes | 5 | Size (afl-1.36b.tgz) = 768571 bytes |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2015/01/25 19:11:10 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2015/02/01 19:42:00 wiz Exp $ | |
2 | bin/afl-clang | 2 | bin/afl-clang | |
3 | bin/afl-clang++ | 3 | bin/afl-clang++ | |
4 | bin/afl-cmin | 4 | bin/afl-cmin | |
5 | bin/afl-fuzz | 5 | bin/afl-fuzz | |
6 | bin/afl-g++ | 6 | bin/afl-g++ | |
7 | bin/afl-gcc | 7 | bin/afl-gcc | |
8 | bin/afl-gotcpu | 8 | bin/afl-gotcpu | |
9 | bin/afl-plot | 9 | bin/afl-plot | |
10 | bin/afl-showmap | 10 | bin/afl-showmap | |
11 | bin/afl-tmin | 11 | bin/afl-tmin | |
12 | bin/afl-whatsup | 12 | bin/afl-whatsup | |
13 | lib/afl/afl-as | 13 | lib/afl/afl-as | |
14 | lib/afl/as | 14 | lib/afl/as | |
@@ -563,20 +563,20 @@ share/afl/testcases/images/tiff/hello_ki | @@ -563,20 +563,20 @@ share/afl/testcases/images/tiff/hello_ki | |||
563 | share/afl/testcases/images/webp/hello_kitty_lossless.webp | 563 | share/afl/testcases/images/webp/hello_kitty_lossless.webp | |
564 | share/afl/testcases/multimedia/h264/small_movie.mp4 | 564 | share/afl/testcases/multimedia/h264/small_movie.mp4 | |
565 | share/afl/testcases/others/elf/small_exec.elf | 565 | share/afl/testcases/others/elf/small_exec.elf | |
566 | share/afl/testcases/others/js/small_script.js | 566 | share/afl/testcases/others/js/small_script.js | |
567 | share/afl/testcases/others/pcap/small_capture.pcap | 567 | share/afl/testcases/others/pcap/small_capture.pcap | |
568 | share/afl/testcases/others/pdf/small.pdf | 568 | share/afl/testcases/others/pdf/small.pdf | |
569 | share/afl/testcases/others/rtf/small_document.rtf | 569 | share/afl/testcases/others/rtf/small_document.rtf | |
570 | share/afl/testcases/others/sql/simple_queries.sql | 570 | share/afl/testcases/others/sql/simple_queries.sql | |
571 | share/afl/testcases/others/text/hello_world.txt | 571 | share/afl/testcases/others/text/hello_world.txt | |
572 | share/afl/testcases/others/xml/small_document.xml | 572 | share/afl/testcases/others/xml/small_document.xml | |
573 | share/afl/testcases/testcases_readme.txt | 573 | share/afl/testcases/testcases_readme.txt | |
574 | share/doc/afl/ChangeLog | 574 | share/doc/afl/ChangeLog | |
575 | share/doc/afl/README | 575 | share/doc/afl/README | |
576 | share/doc/afl/current_todo.txt | |||
577 | share/doc/afl/env_variables.txt | 576 | share/doc/afl/env_variables.txt | |
578 | share/doc/afl/notes_for_asan.txt | 577 | share/doc/afl/notes_for_asan.txt | |
579 | share/doc/afl/parallel_fuzzing.txt | 578 | share/doc/afl/parallel_fuzzing.txt | |
580 | share/doc/afl/perf_tips.txt | 579 | share/doc/afl/perf_tips.txt | |
581 | share/doc/afl/related_work.txt | 580 | share/doc/afl/related_work.txt | |
582 | share/doc/afl/status_screen.txt | 581 | share/doc/afl/status_screen.txt | |
582 | share/doc/afl/technical_details.txt |