summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-11-11 02:55:55 +0100
committerRobert Swiecki <robert@swiecki.net>2017-11-11 02:55:55 +0100
commit66b651243d313ff47b4d0e76379589fb026dad7a (patch)
treec2dc2df119740400c783c26db753da3874af9b9d /honggfuzz.h
parente7294caf2461dcc9a7b666e8a62d516b8663206c (diff)
downloadhonggfuzz-66b651243d313ff47b4d0e76379589fb026dad7a.tar.gz
honggfuzz.h: group some fileds of the main struct
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index 4d1b3a33..c64ba62e 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -192,8 +192,6 @@ typedef struct {
long tmOut;
time_t runEndTime;
size_t mutationsMax;
- size_t threadsMax;
- size_t threadsFinished;
size_t maxFileSz;
char* reportFile;
uint64_t asLimit;
@@ -204,11 +202,16 @@ typedef struct {
bool skipFeedbackOnTimeout;
bool enableSanitizers;
bool monitorSIGABRT;
- uint32_t threadsActiveCnt;
pid_t mainPid;
bool terminating;
bool exitUponCrash;
+ struct {
+ size_t threadsMax;
+ size_t threadsFinished;
+ uint32_t threadsActiveCnt;
+ } threads;
+
const char* dictionaryFile;
TAILQ_HEAD(strq_t, strings_t) dictq;
size_t dictionaryCnt;