depot/third_party/nixpkgs/pkgs/tools/security/afl
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00
..
qemu-patches Project import generated by Copybara. 2020-04-24 19:36:52 -04:00
default.nix Project import generated by Copybara. 2021-05-20 18:08:51 -05:00
libdislocator.nix Project import generated by Copybara. 2021-01-15 23:18:51 +01:00
qemu.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
README.md Project import generated by Copybara. 2020-04-24 19:36:52 -04: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).