Skip to content

Commit

Permalink
Merge pull request #224 from goblint/cleanups/unused_options
Browse files Browse the repository at this point in the history
Cleanups/unused options
  • Loading branch information
michael-schwarz authored May 11, 2021
2 parents 4d68fc3 + 28b47c3 commit fbeb406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
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

0 comments on commit fbeb406

Please sign in to comment.