diff options
| author | van Hauser <vh@thc.org> | 2023-03-17 12:47:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-17 12:47:33 +0100 |
| commit | 24503fba5fd2580559223ec3c6ee408dfa15e080 (patch) | |
| tree | 95826d4a61f3c423d0e70eb7f1da568dc793204b /include | |
| parent | 2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff) | |
| parent | d80cedcf02f56351bb08e7520ddcd76b0ff3f84e (diff) | |
| download | afl++-24503fba5fd2580559223ec3c6ee408dfa15e080.tar.gz | |
Merge pull request #1668 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include')
| -rw-r--r-- | include/afl-fuzz.h | 1 | ||||
| -rw-r--r-- | include/common.h | 4 | ||||
| -rw-r--r-- | include/envs.h | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 9bf91faf..6a8e8b5d 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -693,6 +693,7 @@ typedef struct afl_state { /* statistics file */ double last_bitmap_cvg, last_stability, last_eps; + u64 stats_file_update_freq_msecs; /* Stats update frequency (msecs) */ /* plot file saves from last run */ u32 plot_prev_qp, plot_prev_pf, plot_prev_pnf, plot_prev_ce, plot_prev_md; diff --git a/include/common.h b/include/common.h index c5a32cdb..0958b035 100644 --- a/include/common.h +++ b/include/common.h @@ -143,5 +143,9 @@ FILE *create_ffile(u8 *fn); /* create a file */ s32 create_file(u8 *fn); +/* memmem implementation as not all platforms support this */ +void *afl_memmem(const void *haystack, size_t haystacklen, const void *needle, + size_t needlelen); + #endif diff --git a/include/envs.h b/include/envs.h index cf069a00..066921b9 100644 --- a/include/envs.h +++ b/include/envs.h @@ -91,6 +91,7 @@ static char *afl_environment_variables[] = { "AFL_FRIDA_TRACEABLE", "AFL_FRIDA_VERBOSE", "AFL_FUZZER_ARGS", // oss-fuzz + "AFL_FUZZER_STATS_UPDATE_INTERVAL", "AFL_GDB", "AFL_GCC_ALLOWLIST", "AFL_GCC_DENYLIST", |
