aboutsummaryrefslogtreecommitdiff
path: root/include/cmplog.h
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-08 15:13:46 +0100
committervanhauser-thc <vh@thc.org>2024-02-08 15:13:46 +0100
commit369fce9c85bf3b850a7109e4604fee71f694d2cb (patch)
tree2d3e61ebf00bd73958aaeb45072515837a026b68 /include/cmplog.h
parenteaf4a29930fb5a397716cb34db71f1f14530923a (diff)
downloadafl++-369fce9c85bf3b850a7109e4604fee71f694d2cb.tar.gz
code format
Diffstat (limited to 'include/cmplog.h')
-rw-r--r--include/cmplog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/cmplog.h b/include/cmplog.h
index 589570fe..a6162b59 100644
--- a/include/cmplog.h
+++ b/include/cmplog.h
@@ -41,13 +41,12 @@
#define CMP_TYPE_INS 0
#define CMP_TYPE_RTN 1
-struct cmp_header {
+struct cmp_header { // 16 bit = 2 bytes
unsigned hits : 6; // up to 63 entries, we have CMP_MAP_H = 32
- unsigned shape : 5; // 31+1 bytes
- unsigned type : 1; // 4, we use 3: none, rtn, cmp
+ unsigned shape : 5; // 31+1 bytes max
+ unsigned type : 1; // 2: cmp, rtn
unsigned attribute : 4; // 16 for arithmetic comparison types
- //unsigned reserved : 6;
} __attribute__((packed));