SHA256
1
0
forked from pool/afl
afl/afl-3.0c-fix-paths.patch
Marcus Meissner fde72092cc Accepting request 855999 from home:msmeissn:branches:devel:tools
- updated to 3.0c
  - llvm_mode/ and gcc_plugin/ moved to instrumentation/
  - examples/ renamed to utils/
  - moved libdislocator, libtokencap and qdbi_mode to utils/
  - all compilers combined to afl-cc which emulates the previous ones
  - afl-llvm/gcc-rt.o merged into afl-compiler-rt.o
  - afl-fuzz
    - not specifying -M or -S will now auto-set "-S default"
    - deterministic fuzzing is now disabled by default and can be enabled with
      -D. It is still enabled by default for -M.
    - a new seed selection was implemented that uses weighted randoms based on
      a schedule performance score, which is much better that the previous
      walk the whole queue approach. Select the old mode with -Z (auto enabled
      with -M)
    - Marcel Boehme submitted a patch that improves all AFFast schedules :)
    - the default schedule is now FAST
    - memory limits are now disabled by default, set them with -m if required
    - rpc.statsd support, for stats and charts, by Edznux, thanks a lot!
    - reading testcases from -i now descends into subdirectories
    - allow the -x command line option up to 4 times
    - loaded extras now have a duplication protection
    - If test cases are too large we do a partial read on the maximum
      supported size
    - longer seeds with the same trace information will now be ignored
      for fuzzing but still be used for splicing
    - crashing seeds are now not prohibiting a run anymore but are
      skipped - they are used for splicing, though
    - update MOpt for expanded havoc modes
    - setting the env var AFL_NO_AUTODICT will not load an LTO autodictionary
    - added NO_SPLICING compile option and makefile define

OBS-URL: https://build.opensuse.org/request/show/855999
OBS-URL: https://build.opensuse.org/package/show/devel:tools/afl?expand=0&rev=123
2020-12-15 13:57:19 +00:00

32 lines
960 B
Diff

Index: AFLplusplus-3.0c/GNUmakefile
===================================================================
--- AFLplusplus-3.0c.orig/GNUmakefile
+++ AFLplusplus-3.0c/GNUmakefile
@@ -21,8 +21,8 @@ HASH=\#
PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
-HELPER_PATH = $(PREFIX)/lib/afl
-DOC_PATH = $(PREFIX)/share/doc/afl
+HELPER_PATH = $(LIBEXEC_DIR)/afl
+DOC_PATH = $(DOC_DIR)/afl
MISC_PATH = $(PREFIX)/share/afl
MAN_PATH = $(PREFIX)/man/man8
Index: AFLplusplus-3.0c/GNUmakefile.llvm
===================================================================
--- AFLplusplus-3.0c.orig/GNUmakefile.llvm
+++ AFLplusplus-3.0c/GNUmakefile.llvm
@@ -20,9 +20,9 @@
HASH=\#
PREFIX ?= /usr/local
-HELPER_PATH ?= $(PREFIX)/lib/afl
+HELPER_PATH ?= $(LIBEXEC_DIR)/afl
BIN_PATH ?= $(PREFIX)/bin
-DOC_PATH ?= $(PREFIX)/share/doc/afl
+DOC_PATH ?= $(DOC_DIR)/afl
MISC_PATH ?= $(PREFIX)/share/afl
MAN_PATH ?= $(PREFIX)/share/man/man8