Hello community, here is the log from the commit of package afl for openSUSE:Factory checked in at 2016-06-02 09:38:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/afl (Old) and /work/SRC/openSUSE:Factory/.afl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "afl" Changes: -------- --- /work/SRC/openSUSE:Factory/afl/afl.changes 2016-05-05 08:12:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.afl.new/afl.changes 2016-06-02 09:38:51.000000000 +0200 @@ -1,0 +2,11 @@ +Tue May 31 11:18:02 UTC 2016 - astie...@suse.com + +- afl 2.13b: + * Fixed a spurious build test error with trace-pc and + llvm_mode/Makefile. + * Fixed a cosmetic issue with afl-whatsup +- includes changes from 2.12b + * Fixed a minor issue in afl-tmin that can make alphabet + minimization less efficient during passes > 1 + +------------------------------------------------------------------- Old: ---- afl-2.11b.tgz New: ---- afl-2.13b.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ afl.spec ++++++ --- /var/tmp/diff_new_pack.Wd39pn/_old 2016-06-02 09:38:52.000000000 +0200 +++ /var/tmp/diff_new_pack.Wd39pn/_new 2016-06-02 09:38:52.000000000 +0200 @@ -17,7 +17,7 @@ Name: afl -Version: 2.11b +Version: 2.13b Release: 0 Summary: American fuzzy lop is a security-oriented fuzzer License: Apache-2.0 ++++++ afl-2.11b.tgz -> afl-2.13b.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/Makefile new/afl-2.13b/Makefile --- old/afl-2.11b/Makefile 2016-04-27 20:55:27.000000000 +0200 +++ new/afl-2.13b/Makefile 2016-05-14 19:43:15.000000000 +0200 @@ -14,7 +14,7 @@ # PROGNAME = afl -VERSION = 2.11b +VERSION = 2.13b PREFIX ?= /usr/local BIN_PATH = $(PREFIX)/bin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/afl-fuzz.c new/afl-2.13b/afl-fuzz.c --- old/afl-2.11b/afl-fuzz.c 2016-04-08 20:37:29.000000000 +0200 +++ new/afl-2.13b/afl-fuzz.c 2016-05-07 01:23:31.000000000 +0200 @@ -7034,9 +7034,9 @@ SAYF("\n" cLRD "[-] " cRST "Hmm, your system is configured to send core dump notifications to an\n" - " external utility. This will cause issues due to an extended delay\n" - " between the fuzzed binary malfunctioning and this information being\n" - " eventually relayed to the fuzzer via the standard waitpid() API.\n\n" + " external utility. This will cause issues: there will be an extended delay\n" + " between stumbling upon a crash and having this information relayed to the\n" + " fuzzer via the standard waitpid() API.\n\n" " To avoid having crashes misinterpreted as hangs, please log in as root\n" " and temporarily modify /proc/sys/kernel/core_pattern, like so:\n\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/afl-showmap.c new/afl-2.13b/afl-showmap.c --- old/afl-2.11b/afl-showmap.c 2016-02-21 06:41:24.000000000 +0100 +++ new/afl-2.13b/afl-showmap.c 2016-05-04 03:28:27.000000000 +0200 @@ -157,11 +157,16 @@ u8 cco = !!getenv("AFL_CMIN_CRASHES_ONLY"), caa = !!getenv("AFL_CMIN_ALLOW_ANY"); - if (!strncmp(out_file,"/dev/", 5)) { + if (!strncmp(out_file, "/dev/", 5)) { fd = open(out_file, O_WRONLY, 0600); if (fd < 0) PFATAL("Unable to open '%s'", out_file); + } else if (!strcmp(out_file, "-")) { + + fd = dup(1); + if (fd < 0) PFATAL("Unable to open stdout"); + } else { unlink(out_file); /* Ignore errors */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/afl-tmin.c new/afl-2.13b/afl-tmin.c --- old/afl-2.11b/afl-tmin.c 2016-02-21 06:41:01.000000000 +0100 +++ new/afl-2.13b/afl-tmin.c 2016-05-02 21:54:46.000000000 +0200 @@ -533,7 +533,7 @@ alpha_del1 = 0; syms_removed = 0; - memset(alpha_map, 0, 256); + memset(alpha_map, 0, 256 * sizeof(u32)); for (i = 0; i < in_len; i++) { if (!alpha_map[in_data[i]]) alpha_size++; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/afl-whatsup new/afl-2.13b/afl-whatsup --- old/afl-2.11b/afl-whatsup 2015-04-08 07:33:24.000000000 +0200 +++ new/afl-2.13b/afl-whatsup 2016-05-15 17:30:06.000000000 +0200 @@ -61,6 +61,7 @@ TOTAL_TIME=0 TOTAL_EXECS=0 +TOTAL_EPS=0 TOTAL_CRASHES=0 TOTAL_PFAV=0 TOTAL_PENDING=0 @@ -105,15 +106,16 @@ ALIVE_CNT=$((ALIVE_CNT + 1)) + EXEC_SEC=$((execs_done / RUN_UNIX)) + PATH_PERC=$((cur_path * 100 / paths_total)) + TOTAL_TIME=$((TOTAL_TIME + RUN_UNIX)) + TOTAL_EPS=$((TOTAL_EPS + EXEC_SEC)) TOTAL_EXECS=$((TOTAL_EXECS + execs_done)) TOTAL_CRASHES=$((TOTAL_CRASHES + unique_crashes)) TOTAL_PENDING=$((TOTAL_PENDING + pending_total)) TOTAL_PFAV=$((TOTAL_PFAV + pending_favs)) - EXEC_SEC=$((execs_done / RUN_UNIX)) - PATH_PERC=$((cur_path * 100 / paths_total)) - if [ "$SUMMARY_ONLY" = "" ]; then echo " cycle $((cycles_done + 1)), lifetime speed $EXEC_SEC execs/sec, path $cur_path/$paths_total (${PATH_PERC}%)" @@ -148,7 +150,7 @@ echo " Total run time : $TOTAL_DAYS days, $TOTAL_HRS hours" echo " Total execs : $((TOTAL_EXECS / 1000 / 1000)) million" -echo " Cumulative speed : $((TOTAL_EXECS * ALIVE_CNT / TOTAL_TIME)) execs/sec" +echo " Cumulative speed : $TOTAL_EPS execs/sec" echo " Pending paths : $TOTAL_PFAV faves, $TOTAL_PENDING total" if [ "$ALIVE_CNT" -gt "1" ]; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/docs/ChangeLog new/afl-2.13b/docs/ChangeLog --- old/afl-2.11b/docs/ChangeLog 2016-04-27 22:44:07.000000000 +0200 +++ new/afl-2.13b/docs/ChangeLog 2016-05-15 17:31:07.000000000 +0200 @@ -17,6 +17,22 @@ to get on with the times. -------------- +Version 2.13b: +-------------- + + - Fixed a spurious build test error with trace-pc and llvm_mode/Makefile. + Spotted by Markus Teufelberger. + + - Fixed a cosmetic issue with afl-whatsup. Spotted by Brandon Perry. + +-------------- +Version 2.12b: +-------------- + + - Fixed a minor issue in afl-tmin that can make alphabet minimization less + efficient during passes > 1. Spotted by Daniel Binderman. + +-------------- Version 2.11b: -------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/docs/README new/afl-2.13b/docs/README --- old/afl-2.11b/docs/README 2016-03-15 16:21:42.000000000 +0100 +++ new/afl-2.13b/docs/README 2016-05-02 21:55:56.000000000 +0200 @@ -439,6 +439,7 @@ Guillaume Endignoux ilovezfs Daniel Godas-Lopez Franjo Ivancic Austin Seipp Daniel Komaromy + Daniel Binderman Thank you! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/docs/sister_projects.txt new/afl-2.13b/docs/sister_projects.txt --- old/afl-2.11b/docs/sister_projects.txt 2016-03-20 14:28:52.000000000 +0100 +++ new/afl-2.13b/docs/sister_projects.txt 2016-05-12 05:13:47.000000000 +0200 @@ -133,9 +133,9 @@ https://github.com/d33tah/afl-sid -------------------------------------- -Crash triage, coverage analysis, etc: -------------------------------------- +----------------------------------------------------------- +Crash triage, coverage analysis, and other companion tools: +----------------------------------------------------------- afl-crash-analyzer (Tobias Ospelt) ---------------------------------- @@ -172,6 +172,14 @@ https://github.com/d33tah/aflize +afl-ddmin-mod (Markus Teufelberger) +----------------------------------- + + A variant of afl-tmin that uses a more sophisticated (but slower) + minimization algorithm. + + https://github.com/MarkusTeufelberger/afl-ddmin-mod + ------------------------------- Narrow-purpose or experimental: ------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/afl-2.11b/llvm_mode/Makefile new/afl-2.13b/llvm_mode/Makefile --- old/afl-2.11b/llvm_mode/Makefile 2016-03-12 23:29:27.000000000 +0100 +++ new/afl-2.13b/llvm_mode/Makefile 2016-05-14 19:42:20.000000000 +0200 @@ -95,7 +95,7 @@ test_build: $(PROGS) @echo "[*] Testing the CC wrapper and instrumentation output..." - unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=$(CC) ../afl-clang-fast $(CFLAGS) ../test-instr.c -o test-instr $(LDFLAGS) + unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=$(CC) ../afl-clang-fast $(CFLAGS) ../test-instr.c -o test-instr $(LDFLAGS) echo 0 | ../afl-showmap -m none -q -o .test-instr0 ./test-instr echo 1 | ../afl-showmap -m none -q -o .test-instr1 ./test-instr @rm -f test-instr