diff options
author | van Hauser <vh@thc.org> | 2020-07-24 12:26:52 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-07-24 12:26:52 +0200 |
commit | 9cddbc04206bd8d1399e5a5311c98fff5be80731 (patch) | |
tree | 7578d6b88d93237119e929055aac69e8b452d8be /include/afl-fuzz.h | |
parent | aa3856261d90d996a298704f1d3706ef1c6787cd (diff) | |
download | afl++-9cddbc04206bd8d1399e5a5311c98fff5be80731.tar.gz |
add -F option to sync to foreign fuzzer queues
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index c9f84c61..cf4254ac 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -347,6 +347,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 */ @@ -574,6 +581,11 @@ typedef struct afl_state { u8 describe_op_buf_256[256]; /* describe_op will use this to return a string up to 256 */ +/* 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; @@ -937,6 +949,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 */ |