Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/backend/library/lib/WitnessGeneration.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading