mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
directly add new queue to cache
This commit is contained in:
@ -623,6 +623,12 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
|
||||
ck_write(fd, mem, len, queue_fn);
|
||||
close(fd);
|
||||
|
||||
if (likely(afl->q_testcase_max_cache_size)) {
|
||||
|
||||
queue_testcase_store_mem(afl, afl->queue_top, mem);
|
||||
|
||||
}
|
||||
|
||||
keeping = 1;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user