1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/tools/security/afl
2019-04-10 22:23:08 +01:00
..
qemu-patches afl-qemu: update to qemu 2.10.0, as specified by afl 2.52b 2018-12-22 21:07:26 +00:00
default.nix afl: add self to maintainers list 2019-04-10 22:23:08 +01:00
libdislocator.nix libdislocator: init at 2.52b 2019-02-13 22:06:33 +00:00
qemu.nix afl-qemu: remove unnecessary build dependencies: this is a minimal build of qemu 2019-04-10 22:23:08 +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/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).