mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 10:08:07 +00:00
debug
This commit is contained in:
@ -3069,24 +3069,33 @@ stop_fuzzing:
|
|||||||
|
|
||||||
if (getenv("AFL_DUMP_QUEUE_ON_EXIT")) {
|
if (getenv("AFL_DUMP_QUEUE_ON_EXIT")) {
|
||||||
|
|
||||||
fprintf(stderr, "\nQUEUE DUMP:\n");
|
for (u32 mode = 0; mode < 2; mode++) {
|
||||||
for (u32 k = 0; k < afl->queued_items; ++k) {
|
|
||||||
|
|
||||||
struct queue_entry *q = afl->queue_buf[k];
|
afl->fuzz_mode = mode;
|
||||||
fprintf(
|
create_alias_table(afl);
|
||||||
stderr,
|
fprintf(stderr, "\nQUEUE DUMP MODE: %u\n", mode);
|
||||||
"item=%u fname=%s len=%u exec_us=%llu has_new_cov=%u var_behavior=%u "
|
|
||||||
"favored=%u fs_redundant=%u disabled=%u bitmap_size=%u fuzz_level=%u "
|
for (u32 k = 0; k < afl->queued_items; ++k) {
|
||||||
"mother=%d perf_score=%.2f weight=%.2f score=%u\n",
|
|
||||||
k, q->fname, q->len, q->exec_us, q->has_new_cov, q->var_behavior,
|
struct queue_entry *q = afl->queue_buf[k];
|
||||||
q->favored, q->fs_redundant, q->disabled, q->bitmap_size,
|
fprintf(stderr,
|
||||||
q->fuzz_level, q->mother == NULL ? -1 : (int)q->mother->id,
|
"item=%u fname=%s len=%u exec_us=%llu has_new_cov=%u "
|
||||||
q->perf_score, q->weight, q->score);
|
"var_behavior=%u "
|
||||||
|
"favored=%u fs_redundant=%u disabled=%u bitmap_size=%u "
|
||||||
|
"fuzz_level=%u "
|
||||||
|
"mother=%d perf_score=%.2f weight=%.2f score=%u\n",
|
||||||
|
k, q->fname, q->len, q->exec_us, q->has_new_cov,
|
||||||
|
q->var_behavior, q->favored, q->fs_redundant, q->disabled,
|
||||||
|
q->bitmap_size, q->fuzz_level,
|
||||||
|
q->mother == NULL ? -1 : (int)q->mother->id, q->perf_score,
|
||||||
|
q->weight, q->score);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "\n");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frida_afl_preload) { ck_free(frida_afl_preload); }
|
if (frida_afl_preload) { ck_free(frida_afl_preload); }
|
||||||
|
Reference in New Issue
Block a user