diff options
author | van Hauser <vh@thc.org> | 2020-07-29 11:39:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 11:39:00 +0200 |
commit | 4550613f58342632061944ef09add63240d774cc (patch) | |
tree | 7896b5ec1f49b3ebe32d1466e85ea8f536ad599e /include | |
parent | ff107714f1af1bd908a35ce54701da1eca8ce25d (diff) | |
parent | 015fde3703c7b67ee65d74b0f4b7b68b5d1e4d7e (diff) | |
download | afl++-4550613f58342632061944ef09add63240d774cc.tar.gz |
Merge branch 'dev' into text_inputs
Diffstat (limited to 'include')
-rw-r--r-- | include/afl-fuzz.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 0e2b7458..1c1be711 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -348,6 +348,13 @@ struct afl_pass_stat { }; +struct foreign_sync { + + u8 * dir; + time_t ctime; + +}; + typedef struct afl_state { /* Position of this state in the global states list */ @@ -581,6 +588,15 @@ typedef struct afl_state { u8 describe_op_buf_256[256]; /* describe_op will use this to return a string up to 256 */ + unsigned long long int last_avg_exec_update; + u32 last_avg_execs; + float last_avg_execs_saved; + +/* foreign sync */ +#define FOREIGN_SYNCS_MAX 32 + u8 foreign_sync_cnt; + struct foreign_sync foreign_syncs[FOREIGN_SYNCS_MAX]; + #ifdef _AFL_DOCUMENT_MUTATIONS u8 do_document; u32 document_counter; @@ -944,6 +960,7 @@ void fix_up_banner(afl_state_t *, u8 *); void check_if_tty(afl_state_t *); void setup_signal_handlers(void); void save_cmdline(afl_state_t *, u32, char **); +void read_foreign_testcases(afl_state_t *, int); /* CmpLog */ |