Accepting request 1228226 from devel:tools

- updated to 4.30c
  - afl-gcc and afl-clang funcionality is now removed
  - afl-fuzz:
    - fastresume feature added. if you abort fuzzing and resume fuzzing
      with `-i -` or `AFL_AUTORESUME=1` and the target binary has not changed
      then a dump will be loaded and the calibration phase skipped.
      to disable this feature set `AFL_NO_FASTRESUME=1`
      zlib compression is used if zlib is found at compile time
    - improved seed selection algorithm
    - added `AFL_CUSTOM_MUTATOR_LATE_SEND=1` to call the custom send()
      function after the target has been restarted.
    - because of bad math and undefined behaviour fixes we have to change
      the CMPLOG map. **YOU NEED TO RECOMPILE CMPLOG TARGETS**
    - fixed custom_post_process for calibration
    - fixes for AFL_EXIT_ON_TIME and AFL_EXIT_WHEN_DONE, changed behaviour of
      AFL_EXIT_WHEN_DONE to finish when really done :-)
  - frida_mode:
    - AFL_FRIDA_PERSISTENT_ADDR can now be be any reachable address not just
      a function entry
    - AFL_DEBUG is now the same as AFL_FRIDA_VERBOSE
    - AFL_FRIDA_DEBUG_MAPS now works as expected
  - qemu_mode:
    - new hooks supported (optional), see qemu_mode/hooking_bridge - thanks to
      @CowBoy4mH3LL
  - unicorn_mode:
    - fix install and forkserver (thanks aarnav!)
    - pin unicorn version
  - nyx_mode:
    - bugfixes
  - custom mutators:

OBS-URL: https://build.opensuse.org/request/show/1228226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/afl?expand=0&rev=84
This commit is contained in:
2024-12-04 14:27:00 +00:00
committed by Git OBS Bridge
5 changed files with 80 additions and 21 deletions

View File

@@ -1,22 +1,22 @@
Index: AFLplusplus-3.11c/GNUmakefile
Index: AFLplusplus-4.30c/GNUmakefile
===================================================================
--- AFLplusplus-3.11c.orig/GNUmakefile
+++ AFLplusplus-3.11c/GNUmakefile
--- AFLplusplus-4.30c.orig/GNUmakefile
+++ AFLplusplus-4.30c/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)/share/man/man8
Index: AFLplusplus-3.11c/GNUmakefile.llvm
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)/share/man/man8
INCLUDE_PATH = $(PREFIX)/include/afl
Index: AFLplusplus-4.30c/GNUmakefile.llvm
===================================================================
--- AFLplusplus-3.11c.orig/GNUmakefile.llvm
+++ AFLplusplus-3.11c/GNUmakefile.llvm
--- AFLplusplus-4.30c.orig/GNUmakefile.llvm
+++ AFLplusplus-4.30c/GNUmakefile.llvm
@@ -20,9 +20,9 @@
HASH=\#

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Tue Dec 3 14:59:59 UTC 2024 - Marcus Meissner <meissner@suse.com>
- updated to 4.30c
- afl-gcc and afl-clang funcionality is now removed
- afl-fuzz:
- fastresume feature added. if you abort fuzzing and resume fuzzing
with `-i -` or `AFL_AUTORESUME=1` and the target binary has not changed
then a dump will be loaded and the calibration phase skipped.
to disable this feature set `AFL_NO_FASTRESUME=1`
zlib compression is used if zlib is found at compile time
- improved seed selection algorithm
- added `AFL_CUSTOM_MUTATOR_LATE_SEND=1` to call the custom send()
function after the target has been restarted.
- because of bad math and undefined behaviour fixes we have to change
the CMPLOG map. **YOU NEED TO RECOMPILE CMPLOG TARGETS**
- fixed custom_post_process for calibration
- fixes for AFL_EXIT_ON_TIME and AFL_EXIT_WHEN_DONE, changed behaviour of
AFL_EXIT_WHEN_DONE to finish when really done :-)
- frida_mode:
- AFL_FRIDA_PERSISTENT_ADDR can now be be any reachable address not just
a function entry
- AFL_DEBUG is now the same as AFL_FRIDA_VERBOSE
- AFL_FRIDA_DEBUG_MAPS now works as expected
- qemu_mode:
- new hooks supported (optional), see qemu_mode/hooking_bridge - thanks to
@CowBoy4mH3LL
- unicorn_mode:
- fix install and forkserver (thanks aarnav!)
- pin unicorn version
- nyx_mode:
- bugfixes
- custom mutators:
- custom_send_tcp custom mutator added, thanks to @dergoegge
- afl-cc
- fix to support pointless changes in LLVM 20
- new runtime (!) variable: `AFL_OLD_FORKSERVER` to use the old vanilla
AFL type forkserver. Useful for symcc/symqemu/nautilus/etc. with
AFL_LLVM_INSTRUMENT=CLASSIC
- new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
level, default is `3`
- correctly explain how to get the correct map size for large targets
- small fix for weird LLVM defines in redhat
- code formatting updated to llvm 18
- improved custom_mutators/aflpp/standalone/aflpp-standalone
- added custom_mutators/autotokens/standalone/autotokens-standalone
- AFL++ headers are now installed to $PREFIX/include/afl
-------------------------------------------------------------------
Mon Jun 10 08:12:20 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -27,7 +27,7 @@
%endif
Name: afl
Version: 4.21c
Version: 4.30c
Release: 0
Summary: American fuzzy lop is a security-oriented fuzzer
#URL: https://lcamtuf.coredump.cx/afl/
@@ -49,6 +49,13 @@ BuildRequires: python3-devel
BuildRequires: ((llvm-devel >= 11.0.0 with llvm-devel < 16) or llvm15-devel)
Requires: lld
%package devel
Summary: Development headers for use when fuzzing with American fuzzy lop
Requires: %name = %version
%description devel
This package contains include files for use with afl.
%description
American fuzzy lop is a security-oriented fuzzer that employs a novel type
of compile-time instrumentation and genetic algorithms to automatically
@@ -90,8 +97,8 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o
%doc /usr/share/doc/packages/%name/
%{_bindir}/%{name}-*
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name}-as
%{_libexecdir}/%{name}/as
#{_libexecdir}/%{name}/%{name}-as
#{_libexecdir}/%{name}/as
%if 0%{?afl_64}
%{_libexecdir}/%{name}/afl-{%{afl_rt}}-64.o
%endif
@@ -113,4 +120,8 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o
%{_datadir}/afl/injections.dic
%{_mandir}/man8/afl*.8*
%files devel
%license docs/COPYING LICENSE
%{_includedir}/afl
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11f7c77d37cff6e7f65ac7cc55bab7901e0c6208e845a38764394d04ed567b30
size 3004235

3
v4.30c.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c08c81f59b6c1f0bc2428fdee9fb880520e72c50be0683072e66bcde662b480
size 3031558