From 684f4dd1c44053517c6685a8a3137691535ecd84 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 11 Mar 2020 11:42:57 +0100 Subject: honor afl_quiet on env var checks + code-format --- include/afl-fuzz.h | 22 +++++++++++----------- include/list.h | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 805d0084..72010f68 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -284,14 +284,14 @@ enum { typedef struct MOpt_globals { - u64 *finds; - u64 *finds_v2; - u64 *cycles; - u64 *cycles_v2; - u64 *cycles_v3; - u32 is_pilot_mode; - u64 *pTime; - u64 period; + u64 * finds; + u64 * finds_v2; + u64 * cycles; + u64 * cycles_v2; + u64 * cycles_v3; + u32 is_pilot_mode; + u64 * pTime; + u64 period; char *havoc_stagename; char *splice_stageformat; char *havoc_stagenameshort; @@ -548,7 +548,7 @@ extern list_t afl_states; struct custom_mutator { const char *name; - void *dh; + void * dh; /* hooks for the custom mutator function */ @@ -696,8 +696,8 @@ struct custom_mutator { * argument can be NULL while initializing the fuzzer */ void (*afl_custom_queue_new_entry)(afl_state_t *afl, - const u8 *filename_new_queue, - const u8 *filename_orig_queue); + const u8 * filename_new_queue, + const u8 * filename_orig_queue); }; diff --git a/include/list.h b/include/list.h index f9760ccf..1190931f 100644 --- a/include/list.h +++ b/include/list.h @@ -43,7 +43,7 @@ typedef struct list_element { struct list_element *prev; struct list_element *next; - void *data; + void * data; } element_t; @@ -100,7 +100,7 @@ static void list_append(list_t *list, void *el) { #define LIST_FOREACH(list, type, block) \ do { \ \ - list_t *li = (list); \ + list_t * li = (list); \ element_t *head = get_head((li)); \ element_t *el_box = (head)->next; \ if (!el_box) FATAL("foreach over uninitialized list"); \ -- cgit 1.4.1