nixpkgs/pkgs/tools/security/afl
Robert Scott 1985c6b9d5 afl: fix afl-clang-fast++ by making it a copy of afl-clang-fast, not a symlink
a symlink gets skipped by wrapProgram and this ends up confusing the nix
cc wrapper's cpp mode detection
2020-04-25 10:04:06 -05:00
..
qemu-patches
default.nix afl: fix afl-clang-fast++ by making it a copy of afl-clang-fast, not a symlink 2020-04-25 10:04:06 -05:00
libdislocator.nix libdislocator: update homepage link to use HTTPS 2020-04-24 19:44:59 -07:00
qemu.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
README.md

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).