Skip to content

Commit

Permalink
1.92b
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-huet committed Sep 4, 2015
1 parent de7507c commit d3f5661
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#

PROGNAME = afl
VERSION = 1.91b
VERSION = 1.92b

PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
Expand Down
8 changes: 7 additions & 1 deletion docs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ Want to stay in the loop on major new features? Join our mailing list by
sending a mail to <[email protected]>.

Not sure if you should upgrade? The lowest currently recommended version
is 1.90b. If you're stuck on an earlier release, it's strongly advisable
is 1.92b. If you're stuck on an earlier release, it's strongly advisable
to get on with the times.

--------------
Version 1.91b:
--------------

- Yet another C++ fix (namespaces). Reported by Daniel Lockyer.

--------------
Version 1.91b:
--------------
Expand Down
5 changes: 1 addition & 4 deletions llvm_mode/README.llvm
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ operating mode of AFL, e.g.:
CC=/path/to/afl/afl-clang-fast ./configure [...options...]
make

...or:

CXX=/path/to/afl/afl-clang-fast++ ./configure [...options...]
make
Be sure to also include CXX set to afl-clang-fast++ for C++ code.

The tool honors roughly the same environmental variables as afl-gcc (see
../docs/env_variables.txt). This includes AFL_INST_RATIO, AFL_USE_ASAN,
Expand Down
8 changes: 4 additions & 4 deletions llvm_mode/afl-clang-fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ static void edit_params(u32 argc, char** argv) {
cc_params[cc_par_cnt++] = "-D__AFL_LOOP(_A)="
"({ static volatile char *_B __attribute__((used)); "
" _B = (char*)\"" PERSIST_SIG "\"; "
"int __afl_persistent_loop(unsigned int); "
"__afl_persistent_loop(_A); })";
"int _L(unsigned int) __asm__(\"__afl_persistent_loop\"); "
"_L(_A); })";

cc_params[cc_par_cnt++] = "-D__AFL_INIT()="
"do { static volatile char *_A __attribute__((used)); "
" _A = (char*)\"" DEFER_SIG "\"; "
"void __afl_manual_init(void); "
"__afl_manual_init(); } while (0)";
"void _I(void) __asm__(\"__afl_manual_init\"); "
"_I(); } while (0)";

if (maybe_linking) {

Expand Down
2 changes: 1 addition & 1 deletion llvm_mode/afl-llvm-pass.so.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ bool AFLCoverage::runOnModule(Module &M) {
/* Decide instrumentation ratio */

char* inst_ratio_str = getenv("AFL_INST_RATIO");
int inst_ratio = 100;
unsigned int inst_ratio = 100;

if (inst_ratio_str) {

Expand Down

0 comments on commit d3f5661

Please sign in to comment.