Move linux hfuzz_t code to linux struct
diff --git a/common.h b/common.h
index cc8e95d..356ac2c 100644
--- a/common.h
+++ b/common.h
@@ -271,17 +271,19 @@
size_t dynFileIterExpire;
bool useSanCov;
node_t *covMetadata;
+ bool msanReportUMRS;
/* For the Linux code */
- hwcnt_t hwCnts;
- uint64_t dynamicCutOffAddr;
- bool disableRandomization;
- bool msanReportUMRS;
- void *ignoreAddr;
- size_t numMajorFrames;
- pid_t pid;
- const char *pidFile;
- char *pidCmd;
+ struct {
+ hwcnt_t hwCnts;
+ uint64_t dynamicCutOffAddr;
+ bool disableRandomization;
+ void *ignoreAddr;
+ size_t numMajorFrames;
+ pid_t pid;
+ const char *pidFile;
+ char *pidCmd;
+ } linux;
} honggfuzz_t;
typedef struct {