diff options
author | van Hauser <vh@thc.org> | 2021-11-07 14:09:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-07 14:09:09 +0100 |
commit | fb443eaf2372ccd1825699c978fd0d662155fb9e (patch) | |
tree | ff019fc0b0704c16d68655d0f3864ec4cda49d30 /include/cmplog.h | |
parent | 5b06413a5f109f310a62e36111a18d7325b246c3 (diff) | |
parent | 2ddbaa439ca78b0ae8cc6691d9657f5783b2d5e8 (diff) | |
download | afl++-fb443eaf2372ccd1825699c978fd0d662155fb9e.tar.gz |
Merge pull request #1141 from AFLplusplus/afl4
cmplog enhancement variant
Diffstat (limited to 'include/cmplog.h')
-rw-r--r-- | include/cmplog.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/cmplog.h b/include/cmplog.h index 1c15d2b8..8778a4b6 100644 --- a/include/cmplog.h +++ b/include/cmplog.h @@ -48,7 +48,8 @@ struct cmp_header { unsigned shape : 5; unsigned type : 2; unsigned attribute : 4; - unsigned reserved : 5; + unsigned overflow : 1; + unsigned reserved : 4; } __attribute__((packed)); @@ -59,14 +60,16 @@ struct cmp_operands { u64 v0_128; u64 v1_128; -}; +} __attribute__((packed)); struct cmpfn_operands { - u8 v0[32]; - u8 v1[32]; + u8 v0[31]; + u8 v0_len; + u8 v1[31]; + u8 v1_len; -}; +} __attribute__((packed)); typedef struct cmp_operands cmp_map_list[CMP_MAP_H]; |