3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/afl
Joachim Fasting 9e2937ca65 afl: 2.10b -> 2.23b
Looks like mostly performance enhancements and stability fixes.  The main
user facing changes appear to be:

- The -Z option was removed
- A macro named FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is defined when
    compiling with afl-gcc

Full changelog at http://lcamtuf.coredump.cx/afl/ChangeLog.txt
2016-08-02 07:38:00 +02:00
..
qemu-patches nixpkgs: afl 1.67b -> 1.80b 2015-05-27 16:36:26 -05:00
default.nix afl: 2.10b -> 2.23b 2016-08-02 07:38:00 +02:00
qemu.nix nixpkgs: afl 1.67b -> 1.80b 2015-05-27 16:36:26 -05:00
README.md nixpkgs: afl 1.58b -> 1.63b 2015-04-11 15:26:31 -05:00

Updating the QEMU patches

When updating to the latest American Fuzzy Lop, make sure to check for any new patches to qemu for binary fuzzing support:

https://github.com/mirrorer/afl/tree/master/qemu_mode

Be sure to check the build script and make sure it's also using the right QEMU version and options in qemu.nix:

https://github.com/mirrorer/afl/blob/master/qemu_mode/build_qemu_support.sh

afl-config.h, afl-types.h, and afl-qemu-cpu-inl.h are part of the afl source code, and copied from config.h, types.h and afl-qemu-cpu-inl.h appropriately. These files and the QEMU patches need to be slightly adjusted to fix their #includes (the patches try to otherwise include files like ../../config.h which causes the build to fail).