diff options
author | Robert Swiecki <robert@swiecki.net> | 2017-11-11 02:55:55 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2017-11-11 02:55:55 +0100 |
commit | 66b651243d313ff47b4d0e76379589fb026dad7a (patch) | |
tree | c2dc2df119740400c783c26db753da3874af9b9d /honggfuzz.h | |
parent | e7294caf2461dcc9a7b666e8a62d516b8663206c (diff) | |
download | honggfuzz-66b651243d313ff47b4d0e76379589fb026dad7a.tar.gz |
honggfuzz.h: group some fileds of the main struct
Diffstat (limited to 'honggfuzz.h')
-rw-r--r-- | honggfuzz.h | 9 |
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; |