Closed kokkonisd closed 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.
Lgtm FYI @andreafioraldi
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.