set to compile with llvm 5.0 and 6.0

This commit is contained in:
van Hauser
2019-06-02 22:39:04 +02:00
parent 49a08e38b9
commit 835b84fc49
3 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,8 @@ Version ++2.52c (2019-05-28):
to the AFL schedule, not to the FAST schedule. So nothing changes unless
you use the new -p option :-) - see docs/power_schedules.txt
- added afl-system-config script to set all system performance options for fuzzing
- llvm_mode support currently LLVM 8, 4.0 and 3.9 (thanks to Heiko Eissfeldt for the patch)
- llvm_mode is currently configured to work with llvm 5.0 and 6.0.
To compile with 3.9 or 4.0 you must change CXX to clang++ in llvm_mode/Makefile
---------------------------

View File

@ -51,6 +51,7 @@ endif
ifeq "$(origin CC)" "default"
CC = clang
# if you use llvm 3.9 or 4.0 switch this to clang++ below
CXX = g++
endif

View File

@ -7,8 +7,9 @@ Fast LLVM-based instrumentation for afl-fuzz
1) Introduction
---------------
!!! This currently only works with LLVM version 3.9, 4.0 and 8 !!!
! Fixes for the versions in between are in the works !
! llvm_mode is currently configured to compile with llvm 5.0 and 6.0 via g++ !
! To compile with llvm 3.9 and 4.0 edit the Makefile and change CXX to clang++ !
! Fixes for llvm 3.7, 7 and 8 are in the work !
The code in this directory allows you to instrument programs for AFL using
true compiler-level instrumentation, instead of the more crude