diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-17 16:41:30 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-01-17 16:41:30 +0100 |
commit | b6c5974b3781449996f2791b80e22c9fa6c9ba18 (patch) | |
tree | 4140474ae9397d21b9a27154162bf8cb125fca02 /include/cmplog.h | |
parent | f24135f1ed86443ead13c3b580a5d831d69662d3 (diff) | |
download | afl++-b6c5974b3781449996f2791b80e22c9fa6c9ba18.tar.gz |
format
Diffstat (limited to 'include/cmplog.h')
-rw-r--r-- | include/cmplog.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/cmplog.h b/include/cmplog.h index 26d4b692..d5947226 100644 --- a/include/cmplog.h +++ b/include/cmplog.h @@ -6,7 +6,7 @@ #define CMP_MAP_W 65536 #define CMP_MAP_H 256 -#define SHAPE_BYTES(x) (x+1) +#define SHAPE_BYTES(x) (x + 1) #define CMP_TYPE_INS 0 #define CMP_TYPE_RTN 1 @@ -18,9 +18,9 @@ struct cmp_header { unsigned cnt : 20; unsigned id : 16; - unsigned shape : 5; // from 0 to 31 + unsigned shape : 5; // from 0 to 31 unsigned type : 1; - + } __attribute__((packed)); struct cmp_operands { @@ -41,9 +41,10 @@ typedef struct cmp_operands cmp_map_list[CMP_MAP_H]; struct cmp_map { - struct cmp_header headers[CMP_MAP_W]; + struct cmp_header headers[CMP_MAP_W]; struct cmp_operands log[CMP_MAP_W][CMP_MAP_H]; }; #endif + |