about summary refs log tree commit diff
path: root/utils/afl_network_proxy/afl-network-server.c
diff options
context:
space:
mode:
authorcoco <cornelius@hexgolems.com>2023-10-04 12:29:41 -0700
committercoco <cornelius@hexgolems.com>2023-10-04 12:44:56 -0700
commitc622e4c5652b8a3dca8ad057d8c5c2130f735867 (patch)
tree60558475428a19a076d0a10ea99076a72ac4fff7 /utils/afl_network_proxy/afl-network-server.c
parent17bfb3a4084dd3e24d8521cedc6a50ecba43cd6f (diff)
downloadafl++-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/afl_network_proxy/afl-network-server.c')
0 files changed, 0 insertions, 0 deletions