Skip to content

Commit

Permalink
1.96b
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-huet committed Dec 16, 2015
1 parent 92ad474 commit c0554b9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 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.95b
VERSION = 1.96b

PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
Expand Down
2 changes: 1 addition & 1 deletion afl-fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ static void load_extras(u8* dir) {

}

if (x) FATAL("Dictinary levels not supported for directories.");
if (x) FATAL("Dictionary levels not supported for directories.");

while ((de = readdir(d))) {

Expand Down
10 changes: 10 additions & 0 deletions docs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ Not sure if you should upgrade? The lowest currently recommended version
is 1.92b. If you're stuck on an earlier release, it's strongly advisable
to get on with the times.

--------------
Version 1.96b:
--------------

- Added -fpic to CFLAGS for the clang plugin, as suggested by Hanno Boeck.

- Made another clang change (IRBuilder) suggested by Jeff Trull.

- Fixed several typos, spotted by Jakub Wilk.

--------------
Version 1.95b:
--------------
Expand Down
2 changes: 1 addition & 1 deletion docs/README
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ bug reports, or patches from:
rc0r Jonathan Foote
Christian Holler Dominique Pelle
Jacek Wielemborek Leo Barnes
Jeremy Barnes
Jeremy Barnes Jeff Trull

Thank you!

Expand Down
2 changes: 1 addition & 1 deletion llvm_mode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CXXFLAGS ?= -O3 -funroll-loops
CXXFLAGS += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign \
-DVERSION=\"$(VERSION)\"

CLANG_CFL = `$(LLVM_CONFIG) --cxxflags` -fno-rtti $(CXXFLAGS)
CLANG_CFL = `$(LLVM_CONFIG) --cxxflags` -fno-rtti -fpic $(CXXFLAGS)
CLANG_LFL = `$(LLVM_CONFIG) --ldflags` $(LDFLAGS)

# User teor2345 reports that this is required to make things work on MacOS X.
Expand Down
2 changes: 1 addition & 1 deletion llvm_mode/README.llvm
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ With the location selected, add this code in the appropriate spot:
You don't need the #ifdef guards, but including them ensures that the program
will keep working normally when compiled with a tool other than afl-clang-fast.

Finally, recompile the pogram with afl-clang-fast (afl-gcc or afl-clang will
Finally, recompile the program with afl-clang-fast (afl-gcc or afl-clang will
*not* generate a deferred-initialization binary) - and you should be all set!

5) Bonus feature #2: persistent mode
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 @@ -109,7 +109,7 @@ bool AFLCoverage::runOnModule(Module &M) {
for (auto &BB : F) {

BasicBlock::iterator IP = BB.getFirstInsertionPt();
IRBuilder<> IRB(IP);
IRBuilder<> IRB(&(*IP));

if (R(100) >= inst_ratio) continue;

Expand Down

0 comments on commit c0554b9

Please sign in to comment.