diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-26 02:32:09 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-26 02:32:09 +0200 |
commit | 66eee34709be9b91808601c7e3e638ffacb858db (patch) | |
tree | 9c9b0a2b1554d39373fe26d3b5edbc2433c24c43 /include/afl-fuzz.h | |
parent | 85627516a40d75746e00427710dd16c1161f2532 (diff) | |
download | afl++-66eee34709be9b91808601c7e3e638ffacb858db.tar.gz |
refactored global lists
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 428bfa8e..2203cfdf 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -614,11 +614,6 @@ typedef struct afl_state { } afl_state_t; -/* A global pointer to all instances is needed (for now) for signals to arrive - */ - -extern list_t afl_states; - struct custom_mutator { const char *name; @@ -800,6 +795,14 @@ struct custom_mutator { void afl_state_init(afl_state_t *, uint32_t map_size); void afl_state_deinit(afl_state_t *); + +/* Set stop_soon flag on all childs, kill all childs */ +void afl_states_stop(void); +/* Set clear_screen flag on all states */ +void afl_states_clear_screen(void); +/* Sets the skip flag on all states */ +void afl_states_request_skip(void); + void read_afl_environment(afl_state_t *, char **); /**** Prototypes ****/ |