aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-10-06 15:38:36 +0200
committerDominik Maier <domenukk@gmail.com>2020-10-06 15:38:36 +0200
commit74dc227c4412d0121c9b972e5d89db89f54c6b3a (patch)
tree14da0722ebc330a9a7bf46086db0f45f811cbc1f /include
parenta4b60ca5b61c9bca5fa7b67528baeb3a8ea9320e (diff)
downloadafl++-74dc227c4412d0121c9b972e5d89db89f54c6b3a.tar.gz
code format
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h5
-rw-r--r--include/config.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 46da8c7d..5ab787e0 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -163,7 +163,7 @@ struct queue_entry {
u32 tc_ref; /* Trace bytes ref count */
u8 *testcase_buf; /* The testcase buffer, if loaded. */
- u32 testcase_refs; /* count of users of testcase buf */
+ u32 testcase_refs; /* count of users of testcase buf */
struct queue_entry *next; /* Next element, if any */
@@ -669,7 +669,8 @@ typedef struct afl_state {
/* How many queue entries currently have cached testcases */
u32 q_testcase_cache_count;
- /* Refs to each queue entry with cached testcase (for eviction, if cache_count is too large) */
+ /* Refs to each queue entry with cached testcase (for eviction, if cache_count
+ * is too large) */
struct queue_entry *q_testcase_cache[TESTCASE_CACHE_SIZE];
} afl_state_t;
diff --git a/include/config.h b/include/config.h
index 38a734ce..ec378036 100644
--- a/include/config.h
+++ b/include/config.h
@@ -300,7 +300,8 @@ Decrease if RAM usage is high. */
#define TESTCASE_CACHE_SIZE 2048
#if TESTCASE_CACHE_SIZE < 4
- #error "Dangerously low cache size: Set TESTCASE_CACHE_SIZE to 4 or more in config.h!
+ #error \
+ "Dangerously low cache size: Set TESTCASE_CACHE_SIZE to 4 or more in config.h!
#endif
/* Maximum line length passed from GCC to 'as' and used for parsing