From de7507c31b188f5b31899f277b84e56cd5a24aca Mon Sep 17 00:00:00 2001 From: Thomas HUET Date: Fri, 4 Sep 2015 05:42:09 +0200 Subject: [PATCH] 1.91b --- Makefile | 2 +- docs/ChangeLog | 9 ++++++++- llvm_mode/afl-clang-fast.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e6b769d5..b628b9f1 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # PROGNAME = afl -VERSION = 1.90b +VERSION = 1.91b PREFIX ?= /usr/local BIN_PATH = $(PREFIX)/bin diff --git a/docs/ChangeLog b/docs/ChangeLog index f8c2bd98..9588b25f 100644 --- a/docs/ChangeLog +++ b/docs/ChangeLog @@ -13,9 +13,16 @@ Want to stay in the loop on major new features? Join our mailing list by sending a mail to . Not sure if you should upgrade? The lowest currently recommended version -is 1.76b. If you're stuck on an earlier release, it's strongly advisable +is 1.90b. If you're stuck on an earlier release, it's strongly advisable to get on with the times. +-------------- +Version 1.91b: +-------------- + + - Another fix to make 1.90b actually work properly with C++ (d'oh). + Problem spotted by Daniel Lockyer. + -------------- Version 1.90b: -------------- diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c index 61c77ca1..06c23940 100644 --- a/llvm_mode/afl-clang-fast.c +++ b/llvm_mode/afl-clang-fast.c @@ -180,13 +180,13 @@ static void edit_params(u32 argc, char** argv) { cc_params[cc_par_cnt++] = "-D__AFL_LOOP(_A)=" "({ static volatile char *_B __attribute__((used)); " - " _B = \"" PERSIST_SIG "\"; " + " _B = (char*)\"" PERSIST_SIG "\"; " "int __afl_persistent_loop(unsigned int); " "__afl_persistent_loop(_A); })"; cc_params[cc_par_cnt++] = "-D__AFL_INIT()=" "do { static volatile char *_A __attribute__((used)); " - " _A = \"" DEFER_SIG "\"; " + " _A = (char*)\"" DEFER_SIG "\"; " "void __afl_manual_init(void); " "__afl_manual_init(); } while (0)";