aboutsummaryrefslogtreecommitdiff
path: root/include/forkserver.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-06-19 14:09:06 +0200
committerGitHub <noreply@github.com>2024-06-19 14:09:06 +0200
commit2276a2f5c35d574de1477d3a014009eca7dcfbd6 (patch)
tree1bda28182c1dbf1f9570da2926f6f62be117f154 /include/forkserver.h
parentb8568034f0c120ab8500c03ed4982d641eaa88fb (diff)
parent8fcca6fb410a6ece1a4cd2eb8a2cdeed4d4d9865 (diff)
downloadafl++-2276a2f5c35d574de1477d3a014009eca7dcfbd6.tar.gz
Merge pull request #2129 from choller/persist-code-cov
Collect persistent coverage data and dump it at the end of the run
Diffstat (limited to 'include/forkserver.h')
-rw-r--r--include/forkserver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/forkserver.h b/include/forkserver.h
index 593e34a2..3fd813a4 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -206,6 +206,10 @@ typedef struct afl_forkserver {
s32 nyx_log_fd;
#endif
+#ifdef __AFL_CODE_COVERAGE
+ u8 *persistent_trace_bits; /* Persistent copy of bitmap */
+#endif
+
} afl_forkserver_t;
typedef enum fsrv_run_result {