AFLplusplus / qemuafl

This fork of QEMU enables fuzzing userspace ELF binaries under AFL++.
https://aflplus.plus
Other
79 stars 43 forks source link

Snapshot mode: fix incompatibility with libcompcov.so #59

Closed kokkonisd closed 6 months ago

kokkonisd commented 6 months ago

When libcompcov.so is included, the shared memory is picked up in snapshot mode and is reset every time the snapshot is restored. This erases all coverage info, so we should skip it when collecting the memory to be restored.

This fixes https://github.com/AFLplusplus/AFLplusplus/issues/2017.

vanhauser-thc commented 6 months ago

Lgtm FYI @andreafioraldi