about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-26 16:51:21 +0200
committerGitHub <noreply@github.com>2020-04-26 16:51:21 +0200
commit62ec52dd956d62957b431ef804b7956124823f00 (patch)
tree706a66892726df089a9d8bf6e8a6e8b1665ff5a8 /include/afl-fuzz.h
parentce9c6df45639db922feafb55259e20c7e82af0bf (diff)
parentea876e59a8c1abc979ea05aa4dbe660608aaa9ba (diff)
downloadafl++-62ec52dd956d62957b431ef804b7956124823f00.tar.gz
Merge pull request #336 from AFLplusplus/dev
pull again ...
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h13
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 ****/