diff --git a/modules/backend/library/lib/WitnessGeneration.c b/modules/backend/library/lib/WitnessGeneration.c index 330f3876b..d25cbbfc1 100644 --- a/modules/backend/library/lib/WitnessGeneration.c +++ b/modules/backend/library/lib/WitnessGeneration.c @@ -14,7 +14,12 @@ void generate_aux_files(MAP2CHECK_CONTAINER *trackbb_log, Bool violation) { trackbb_log_to_file(trackbb_log); - analysis_generate_aux_witness_files(); + /* The analysis logs (list_log.csv, heap_log.csv, allocation_log.csv) are + * read by nothing; they are kept only as a record of a violation. Under + * KLEE every path that ends writes them otherwise, through uclibc's fprintf: + * 9 of every 10 instructions KLEE ran on a Juliet program (CWE-761 good, + * --model-input), which left it no time to finish the paths. */ + if (violation) analysis_generate_aux_witness_files(); /* Only a violating execution has an input vector worth recording, and under * KLEE every forked state reaches this point. They all write the same file, * so without the guard a state that took a different branch clobbers the