summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2020-02-26 23:49:02 +0100
committerRobert Swiecki <robert@swiecki.net>2020-02-26 23:49:02 +0100
commit58930e8758ae36ff6d37e836f10d98ac3eeea54a (patch)
tree95f6c577f16b244594517d8b21c43a9e3999fd77 /honggfuzz.h
parented407f6a787080821ad8b2b2ba2154f58ebe6a26 (diff)
downloadhonggfuzz-58930e8758ae36ff6d37e836f10d98ac3eeea54a.tar.gz
cmpConstFeedbackL unify infrastructure for integers and other memory
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index 163f0d0f..0f7539bc 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -187,18 +187,11 @@ typedef struct {
} feedback_t;
typedef struct {
- uint32_t strCnt;
+ uint32_t cnt;
struct {
- char val[32];
+ uint8_t val[16];
uint32_t len;
- } strArr[4096];
- uint32_t intCnt;
- struct {
- union {
- uint8_t val[sizeof(uint64_t)];
- };
- uint32_t len;
- } intArr[4096];
+ } valArr[4096];
} cmpfeedback_t;
typedef struct {