Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanups/unused options #224

Merged
merged 2 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/solvers/sLR.ml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ module Make =

let tmp = do_side x (eq x (eval x) (side x)) in
let use_box = (not (V.ver>1)) || HM.mem wpoint x in
let restart_mode_x = h_find_default restart_mode x (2*GobConfig.get_int "ana.restart_count") in
let restart_mode_x = h_find_default restart_mode x (2*GobConfig.get_int "exp.solver.slr4.restart_count") in
let rstrt = use_box && (V.ver>3) && D.leq tmp old && restart_mode_x <> 0 in
if tracing then trace "sol" "Var: %a\n" S.Var.pretty_trace x ;
if tracing then trace "sol" "Contrib:%a\n" S.Dom.pretty tmp;
Expand Down
5 changes: 1 addition & 4 deletions src/util/defaults.ml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ let _ = ()
; reg Analyses "ana.int.def_exc" "true" "Use IntDomain.DefExc: definite value/exclusion set."
; reg Analyses "ana.int.interval" "false" "Use IntDomain.Interval32: (int64 * int64) option."
; reg Analyses "ana.int.enums" "false" "Use IntDomain.Enums: Inclusion/Exclusion sets. Go to top on arithmetic operations (except for some easy cases, e.g. multiplication with 0). Joins on widen, i.e. precise integers as long as not derived from arithmetic expressions."
; reg Analyses "ana.int.cdebug" "false" "Debugging output for wrapped interval analysis."
; reg Analyses "ana.int.cwiden" "'basic'" "Widening variant to use for wrapped interval analysis ('basic', 'double')"
; reg Analyses "ana.int.cnarrow" "'basic'" "Narrowing variant to use for wrapped interval analysis ('basic', 'half')"
; reg Analyses "ana.file.optimistic" "false" "Assume fopen never fails."
; reg Analyses "ana.spec.file" "" "Path to the specification file."
; reg Analyses "ana.pml.debug" "true" "Insert extra assertions into Promela code for debugging."
Expand All @@ -133,7 +130,6 @@ let _ = ()
; reg Analyses "ana.arinc.merge_globals" "false" "Merge all global return code variables into one."
; reg Analyses "ana.opt.hashcons" "true" "Should we try to save memory and speed up equality by hashconsing?"
; reg Analyses "ana.opt.equal" "true" "First try physical equality (==) before {D,G,C}.equal (only done if hashcons is disabled since it basically does the same via its tags)."
; reg Analyses "ana.restart_count" "1" "How many times SLR4 is allowed to switch from restarting iteration to increasing iteration."
; reg Analyses "ana.mutex.disjoint_types" "true" "Do not propagate basic type writes to all struct fields"
; reg Analyses "ana.sv-comp.enabled" "false" "SV-COMP mode"
; reg Analyses "ana.sv-comp.functions" "false" "Handle SV-COMP __VERIFIER* functions"
Expand Down Expand Up @@ -188,6 +184,7 @@ let _ = ()
; reg Experimental "exp.solver.td3.space" "false" "Should the td3 solver only keep values at widening points?"
; reg Experimental "exp.solver.td3.space_cache" "true" "Should the td3-space solver cache values?"
; reg Experimental "exp.solver.td3.space_restore" "true" "Should the td3-space solver restore values for non-widening-points? Needed for inspecting output!"
; reg Experimental "exp.solver.slr4.restart_count" "1" "How many times SLR4 is allowed to switch from restarting iteration to increasing iteration."
; reg Experimental "exp.fast_global_inits" "true" "Only generate one 'a[MyCFG.all_array_index_exp] = x' for all assignments a[...] = x for a global array a[n]."
; reg Experimental "exp.uninit-ptr-safe" "false" "Assume that uninitialized stack-allocated pointers may only point to variables not in the program or null."
; reg Experimental "exp.ptr-arith-safe" "false" "Assume that pointer arithmetic only yields safe addresses."
Expand Down