Skip to content

Commit

Permalink
Separate memsafetySpecification autotuner and enable in svcomp conf
Browse files Browse the repository at this point in the history
Normal specification autotuner does other things we didn't want in SV-COMP.
  • Loading branch information
sim642 committed Oct 31, 2023
1 parent 1cf3942 commit 6131273
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion conf/svcomp.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"congruence",
"octagon",
"wideningThresholds",
"loopUnrollHeuristic"
"loopUnrollHeuristic",
"memsafetySpecification"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/common/util/options.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
"type": "array",
"items": { "type": "string" },
"default": [
"congruence", "singleThreaded", "specification", "mallocWrappers", "noRecursiveIntervals", "enums", "loopUnrollHeuristic", "arrayDomain", "octagon", "wideningThresholds"
"congruence", "singleThreaded", "specification", "mallocWrappers", "noRecursiveIntervals", "enums", "loopUnrollHeuristic", "arrayDomain", "octagon", "wideningThresholds", "memsafetySpecification"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/maingoblint.ml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ let handle_options () =
check_arguments ();
AfterConfig.run ();
Sys.set_signal (GobSys.signal_of_string (get_string "dbg.solver-signal")) Signal_ignore; (* Ignore solver-signal before solving (e.g. MyCFG), otherwise exceptions self-signal the default, which crashes instead of printing backtrace. *)
if AutoTune.isActivated "specification" && get_string "ana.specification" <> "" then
if AutoTune.isActivated "memsafetySpecification" && get_string "ana.specification" <> "" then
AutoTune.focusOnMemSafetySpecification ();
Cilfacade.init_options ();
handle_flags ()
Expand Down

0 comments on commit 6131273

Please sign in to comment.