mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 00:31:33 +00:00
disable corpus introspection, potentially creates huge data
This commit is contained in:
parent
f34a860d5f
commit
a2f40aa285
@ -198,34 +198,35 @@ void create_alias_table(afl_state_t *afl) {
|
||||
while (nS)
|
||||
afl->alias_probability[S[--nS]] = 1;
|
||||
|
||||
#ifdef INTROSPECTION
|
||||
u8 fn[PATH_MAX];
|
||||
snprintf(fn, PATH_MAX, "%s/introspection_corpus.txt", afl->out_dir);
|
||||
FILE *f = fopen(fn, "a");
|
||||
if (f) {
|
||||
/*
|
||||
#ifdef INTROSPECTION
|
||||
u8 fn[PATH_MAX];
|
||||
snprintf(fn, PATH_MAX, "%s/introspection_corpus.txt", afl->out_dir);
|
||||
FILE *f = fopen(fn, "a");
|
||||
if (f) {
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
for (i = 0; i < n; i++) {
|
||||
|
||||
struct queue_entry *q = afl->queue_buf[i];
|
||||
fprintf(
|
||||
f,
|
||||
"entry=%u name=%s favored=%s variable=%s disabled=%s len=%u "
|
||||
"exec_us=%u "
|
||||
"bitmap_size=%u bitsmap_size=%u tops=%u weight=%f perf_score=%f\n",
|
||||
i, q->fname, q->favored ? "true" : "false",
|
||||
q->var_behavior ? "true" : "false", q->disabled ? "true" : "false",
|
||||
q->len, (u32)q->exec_us, q->bitmap_size, q->bitsmap_size, q->tc_ref,
|
||||
q->weight, q->perf_score);
|
||||
struct queue_entry *q = afl->queue_buf[i];
|
||||
fprintf(
|
||||
f,
|
||||
"entry=%u name=%s favored=%s variable=%s disabled=%s len=%u "
|
||||
"exec_us=%u "
|
||||
"bitmap_size=%u bitsmap_size=%u tops=%u weight=%f perf_score=%f\n",
|
||||
i, q->fname, q->favored ? "true" : "false",
|
||||
q->var_behavior ? "true" : "false", q->disabled ? "true" : "false",
|
||||
q->len, (u32)q->exec_us, q->bitmap_size, q->bitsmap_size, q->tc_ref,
|
||||
q->weight, q->perf_score);
|
||||
|
||||
}
|
||||
|
||||
fprintf(f, "\n");
|
||||
fclose(f);
|
||||
|
||||
}
|
||||
|
||||
fprintf(f, "\n");
|
||||
fclose(f);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
*/
|
||||
/*
|
||||
fprintf(stderr, " entry alias probability perf_score weight
|
||||
filename\n"); for (u32 i = 0; i < n; ++i) fprintf(stderr, " %5u %5u %11u
|
||||
|
Loading…
x
Reference in New Issue
Block a user