about summary refs log tree commit diff
path: root/src/afl-fuzz-stats.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-10-07 10:12:51 +0200
committerGitHub <noreply@github.com>2024-10-07 10:12:51 +0200
commitc1e40c5fb7de40dc5f598c609c907ea21e5a078a (patch)
tree1e9da5807fa20692820bf9792b4a42f9731aeeff /src/afl-fuzz-stats.c
parentd21fb1a558b25c4f46692fa999c0028dfe0eecc0 (diff)
parentd6a2edb42a680b999256d5b78082975713973db7 (diff)
downloadafl++-c1e40c5fb7de40dc5f598c609c907ea21e5a078a.tar.gz
Merge pull request #2220 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-stats.c')
-rw-r--r--src/afl-fuzz-stats.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index b1a84cb6..a7465330 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -83,12 +83,16 @@ void write_setup_file(afl_state_t *afl, u32 argc, char **argv) {
 
 #ifdef __linux__
   if (afl->fsrv.nyx_mode) {
+
     nyx_load_target_hash(&afl->fsrv);
     fprintf(f2, "%llx\n", afl->fsrv.nyx_target_hash64);
-  }
-  else {
+
+  } else {
+
     fprintf(f2, "%p\n", (void *)get_binary_hash(afl->fsrv.target_path));
+
   }
+
 #else
   fprintf(f2, "%p\n", (void *)get_binary_hash(afl->fsrv.target_path));
 #endif