diff options
author | vanhauser-thc <vh@thc.org> | 2024-10-01 10:13:35 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-10-01 10:13:35 +0200 |
commit | 146e535f7b644a3d38f8e90c415974b23ff295c0 (patch) | |
tree | fe70e4386d7c44600948d4b2b46506d84bd7e1a3 /src/afl-fuzz-stats.c | |
parent | b88f132975b41aa16c43ee5e2bc3a243b79330ec (diff) | |
download | afl++-146e535f7b644a3d38f8e90c415974b23ff295c0.tar.gz |
persistent record for frida and qmeu
Diffstat (limited to 'src/afl-fuzz-stats.c')
-rw-r--r-- | src/afl-fuzz-stats.c | 8 |
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 |