mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 10:38:07 +00:00
documented llvm 10 support
This commit is contained in:
@ -27,7 +27,7 @@
|
|||||||
get any feature improvements since November 2017.
|
get any feature improvements since November 2017.
|
||||||
|
|
||||||
Among other changes afl++ has a more performant llvm_mode, supports
|
Among other changes afl++ has a more performant llvm_mode, supports
|
||||||
llvm up to version 9, QEMU 3.1, more speed and crashfixes for QEMU,
|
llvm up to version 10, QEMU 3.1, more speed and crashfixes for QEMU,
|
||||||
better *BSD and Android support and much, much more.
|
better *BSD and Android support and much, much more.
|
||||||
|
|
||||||
Additionally the following features and patches have been integrated:
|
Additionally the following features and patches have been integrated:
|
||||||
@ -203,7 +203,7 @@ superior to blind fuzzing or coverage-only tools.
|
|||||||
PLEASE NOTE: llvm_mode compilation with afl-clang-fast/afl-clang-fast++
|
PLEASE NOTE: llvm_mode compilation with afl-clang-fast/afl-clang-fast++
|
||||||
instead of afl-gcc/afl-g++ is much faster and has a few cool features.
|
instead of afl-gcc/afl-g++ is much faster and has a few cool features.
|
||||||
See llvm_mode/ - however few code does not compile with llvm.
|
See llvm_mode/ - however few code does not compile with llvm.
|
||||||
We support llvm versions 3.8.0 to 9.
|
We support llvm versions 3.8.0 to 10.
|
||||||
|
|
||||||
When source code is available, instrumentation can be injected by a companion
|
When source code is available, instrumentation can be injected by a companion
|
||||||
tool that works as a drop-in replacement for gcc or clang in any standard build
|
tool that works as a drop-in replacement for gcc or clang in any standard build
|
||||||
@ -226,7 +226,7 @@ For C++ programs, you'd would also want to set `CXX=/path/to/afl/afl-g++`.
|
|||||||
The clang wrappers (afl-clang and afl-clang++) can be used in the same way;
|
The clang wrappers (afl-clang and afl-clang++) can be used in the same way;
|
||||||
clang users may also opt to leverage a higher-performance instrumentation mode,
|
clang users may also opt to leverage a higher-performance instrumentation mode,
|
||||||
as described in [llvm_mode/README.md](llvm_mode/README.md).
|
as described in [llvm_mode/README.md](llvm_mode/README.md).
|
||||||
Clang/LLVM has a much better performance and works with LLVM version 3.8.0 to 9.
|
Clang/LLVM has a much better performance and works with LLVM version 3.8.0 to 10.
|
||||||
|
|
||||||
Using the LAF Intel performance enhancements are also recommended, see
|
Using the LAF Intel performance enhancements are also recommended, see
|
||||||
[llvm_mode/README.laf-intel.md](llvm_mode/README.laf-intel.md)
|
[llvm_mode/README.laf-intel.md](llvm_mode/README.laf-intel.md)
|
||||||
|
@ -29,7 +29,7 @@ ifeq "$(shell uname)" "OpenBSD"
|
|||||||
LLVM_CONFIG ?= $(BIN_PATH)/llvm-config
|
LLVM_CONFIG ?= $(BIN_PATH)/llvm-config
|
||||||
HAS_OPT = $(shell test -x $(BIN_PATH)/opt && echo 0 || echo 1)
|
HAS_OPT = $(shell test -x $(BIN_PATH)/opt && echo 0 || echo 1)
|
||||||
ifeq "$(HAS_OPT)" "1"
|
ifeq "$(HAS_OPT)" "1"
|
||||||
$(error llvm_mode needs a complete llvm installation (versions 3.8.0 up to 9) -> e.g. "pkg_add llvm-7.0.1p9")
|
$(error llvm_mode needs a complete llvm installation (versions 3.8.0 up to 10) -> e.g. "pkg_add llvm-7.0.1p9")
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
LLVM_CONFIG ?= llvm-config
|
LLVM_CONFIG ?= llvm-config
|
||||||
@ -48,7 +48,7 @@ ifeq "$(LLVMVER)" ""
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq "$(LLVM_UNSUPPORTED)" "1"
|
ifeq "$(LLVM_UNSUPPORTED)" "1"
|
||||||
$(warn llvm_mode only supports llvm versions 3.8.0 up to 9)
|
$(warn llvm_mode only supports llvm versions 3.8.0 up to 10)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq "$(LLVM_MAJOR)" "9"
|
ifeq "$(LLVM_MAJOR)" "9"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
## 1) Introduction
|
## 1) Introduction
|
||||||
|
|
||||||
! llvm_mode works with llvm versions 3.8.0 up to 9 !
|
! llvm_mode works with llvm versions 3.8.0 up to 10 !
|
||||||
|
|
||||||
The code in this directory allows you to instrument programs for AFL using
|
The code in this directory allows you to instrument programs for AFL using
|
||||||
true compiler-level instrumentation, instead of the more crude
|
true compiler-level instrumentation, instead of the more crude
|
||||||
|
Reference in New Issue
Block a user