Skip to content

Commit

Permalink
Autotune for Termination
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Nov 10, 2023
1 parent fb92abc commit aad465c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/autoTune.ml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,14 @@ let focusOnSpecification (spec: Svcomp.Specification.t) =
| NoDataRace -> (*enable all thread analyses*)
print_endline @@ "Specification: NoDataRace -> enabling thread analyses \"" ^ (String.concat ", " notNeccessaryThreadAnalyses) ^ "\"";
enableAnalyses notNeccessaryThreadAnalyses;
| Termination -> ()
| Termination ->
let terminationAnas = ["termination"; "isEverMultiThreaded"; "apron"] in
print_endline @@ "Specification: Termination -> enabling termination analyses \"" ^ (String.concat ", " terminationAnas) ^ "\"";
enableAnalyses terminationAnas;
set_string "sem.int.signed_overflow" "assume_none";
set_bool "ana.int.interval" true;
set_string "ana.apron.domain" "polyhedra"; (* TODO: Needed? *)
()
| NoOverflow -> (*We focus on integer analysis*)
set_bool "ana.int.def_exc" true;
set_bool "ana.int.interval" true
Expand Down

0 comments on commit aad465c

Please sign in to comment.