summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-11-11 02:46:32 +0100
committerRobert Swiecki <robert@swiecki.net>2017-11-11 02:46:32 +0100
commite7294caf2461dcc9a7b666e8a62d516b8663206c (patch)
tree4a616addb5462677d6f6e42e63672d03967910bd /honggfuzz.h
parentf74fa8495dbbd425e95eaacdc632e41401114f52 (diff)
downloadhonggfuzz-e7294caf2461dcc9a7b666e8a62d516b8663206c.tar.gz
fuzzer_t fuzzer -> run_t run for clarity of naming
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index eb63b258..4d1b3a33 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -66,6 +66,8 @@
#define _HF_BITMAP_FD 1022
/* FD used to pass data to a persistent process */
#define _HF_PERSISTENT_FD 1023
+/* Maximum number of active fuzzing threads */
+#define _HF_THREAD_MAX 1024U
typedef enum {
_HF_DYNFILE_NONE = 0x0,
@@ -156,8 +158,6 @@ struct strings_t {
pointers;
};
-/* Maximum number of active fuzzing threads */
-#define _HF_THREAD_MAX 1024U
typedef struct {
bool pcGuardMap[_HF_PC_GUARD_MAX];
uint8_t bbMapPc[_HF_PERF_BITMAP_SIZE_16M];
@@ -301,6 +301,6 @@ typedef struct {
int cpuBranchFd;
int cpuIptBtsFd;
} linux;
-} fuzzer_t;
+} run_t;
#endif