diff options
author | coco <cornelius@hexgolems.com> | 2023-10-04 12:29:41 -0700 |
---|---|---|
committer | coco <cornelius@hexgolems.com> | 2023-10-04 12:44:56 -0700 |
commit | c622e4c5652b8a3dca8ad057d8c5c2130f735867 (patch) | |
tree | 60558475428a19a076d0a10ea99076a72ac4fff7 /utils/plot_ui/afl-plot-ui.c | |
parent | 17bfb3a4084dd3e24d8521cedc6a50ecba43cd6f (diff) | |
download | afl++-c622e4c5652b8a3dca8ad057d8c5c2130f735867.tar.gz |
Make fuzzer_stats update atomic
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).
Diffstat (limited to 'utils/plot_ui/afl-plot-ui.c')
0 files changed, 0 insertions, 0 deletions