2015-03-23 02:57:55 +00: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:
|
|
|
|
|
2019-12-21 13:50:23 +00:00
|
|
|
https://github.com/google/AFL/tree/master/qemu_mode
|
2015-03-23 02:57:55 +00:00
|
|
|
|
|
|
|
Be sure to check the build script and make sure it's also using the
|
|
|
|
right QEMU version and options in `qemu.nix`:
|
|
|
|
|
2019-12-21 13:50:23 +00:00
|
|
|
https://github.com/google/AFL/blob/master/qemu_mode/build_qemu_support.sh
|
2015-03-23 02:57:55 +00:00
|
|
|
|
2015-04-11 12:43:25 +01:00
|
|
|
`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 `#include`s (the patches
|
|
|
|
try to otherwise include files like `../../config.h` which causes the
|
|
|
|
build to fail).
|