nixpkgs-suyu/pkgs/tools/security/afl
Robert Scott de0e71780c afl: 2.52b -> 2.56b
can remove qemu glibc patch as it is now covered by afl's own patches
2019-12-30 10:21:19 -06:00
..
qemu-patches afl: 2.52b -> 2.56b 2019-12-30 10:21:19 -06:00
default.nix afl: 2.52b -> 2.56b 2019-12-30 10:21:19 -06:00
libdislocator.nix afl: 2.52b -> 2.56b 2019-12-30 10:21:19 -06:00
qemu.nix afl: 2.52b -> 2.56b 2019-12-30 10:21:19 -06:00
README.md afl: 2.52b -> 2.56b 2019-12-30 10:21:19 -06: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/google/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/google/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).