mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
configurable testcache with malloc (#581)
* cache item number to cache memory size * reload testcase if trimming changed the size * fix splicing selection * slim splicing * import sync fix * write testcache stats to fuzzer_stats * fix new seed selection algo * malloc+read instead of mmap * fix * testcache is configurable now and no reference counts * fixes compilation, test script * fixes * switch TEST_CC to afl-cc in makefile * code format * fix * fix crash * fix crash * fix env help output * remove unnecessary pointer resets * fix endless loop bug * actually use the cache if set * one more fix * increase default cache entries, add default cache size value to config.h Co-authored-by: hexcoder- <heiko@hexco.de>
This commit is contained in:
@ -1045,7 +1045,7 @@ restart_outer_cull_loop:
|
||||
|
||||
while (q) {
|
||||
|
||||
if (q->cal_failed || !q->exec_cksum) continue;
|
||||
if (q->cal_failed || !q->exec_cksum) { goto next_entry; }
|
||||
|
||||
restart_inner_cull_loop:
|
||||
|
||||
@ -1090,6 +1090,8 @@ restart_outer_cull_loop:
|
||||
|
||||
}
|
||||
|
||||
next_entry:
|
||||
|
||||
prev = q;
|
||||
q = q->next;
|
||||
|
||||
|
Reference in New Issue
Block a user