mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
introspection
This commit is contained in:
@ -2496,10 +2496,22 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef INTROSPECTION
|
#ifdef INTROSPECTION
|
||||||
fprintf(afl->introspection_file,
|
{
|
||||||
"CYCLE cycle=%llu cycle_wo_finds=%llu expand_havoc=%u queue=%u\n",
|
|
||||||
afl->queue_cycle, afl->cycles_wo_finds, afl->expand_havoc,
|
u64 cur_time = get_cur_time();
|
||||||
afl->queued_items);
|
fprintf(afl->introspection_file,
|
||||||
|
"CYCLE cycle=%llu cycle_wo_finds=%llu time_wo_finds=%llu "
|
||||||
|
"expand_havoc=%u queue=%u\n",
|
||||||
|
afl->queue_cycle, afl->cycles_wo_finds,
|
||||||
|
afl->longest_find_time > cur_time - afl->last_find_time
|
||||||
|
? afl->longest_find_time / 1000
|
||||||
|
: ((afl->start_time == 0 || afl->last_find_time == 0)
|
||||||
|
? 0
|
||||||
|
: (cur_time - afl->last_find_time) / 1000),
|
||||||
|
afl->expand_havoc, afl->queued_items);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (afl->cycle_schedules) {
|
if (afl->cycle_schedules) {
|
||||||
|
Reference in New Issue
Block a user