From e5c98d0d1d7b9bfac02234607c351c486955d3e4 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 26 Nov 2024 16:04:54 +0900 Subject: Calculate mean proximity score MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 김태은 --- include/afl-fuzz.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/afl-fuzz.h') diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 0f0e45d3..ab5d29bf 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -237,6 +237,7 @@ struct queue_entry { handicap, /* Number of queue cycles behind */ depth, /* Path depth */ exec_cksum, /* Checksum of the execution trace */ + prox_score, /* Proximity score of the test case */ custom, /* Marker for custom mutators */ stats_mutated; /* stats: # of mutations performed */ @@ -698,6 +699,8 @@ typedef struct afl_state { u64 total_bitmap_size, /* Total bit count for all bitmaps */ total_bitmap_entries; /* Number of bitmaps counted */ + u64 mean_prox_score; /* Mean of proximity scores */ + s32 cpu_core_count, /* CPU core count */ cpu_to_bind; /* bind to specific CPU */ -- cgit 1.4.1