Skip to content

Conversation

@eqv
Copy link
Contributor

@eqv eqv commented Oct 4, 2023

This writes fuzzer_stats to a temp file and then atomically renames the temp file into fuzzer_stats so that any read on fuzzer_stats will always return a consistent view of the AFL state (otherwise there is a very low change of AFL's write and $tool's read lead to a race condition and yield inconsistent results).

This writes fuzzer_stats to a temp file and then atomically renames the
temp file into fuzzer_stats so that any read on fuzzer_stats will always
return a consistent view of the AFL state (otherwise there is a very
low change of AFL's write and $tool's reads to race and yield
inconsistent results).
@vanhauser-thc
Copy link
Member

:)

@vanhauser-thc vanhauser-thc merged commit a380615 into AFLplusplus:dev Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants