Skip to content

Commit

Permalink
Fix ARG enabled without ana.sv-comp.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Aug 2, 2023
1 parent 43a3437 commit 95aafbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/control.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module type S2S = functor (X : Spec) -> Spec
(* spec is lazy, so HConsed table in Hashcons lifters is preserved between analyses in server mode *)
let spec_module: (module Spec) Lazy.t = lazy (
GobConfig.building_spec := true;
let arg_enabled = get_bool "witness.enabled" || get_bool "exp.arg" in
let arg_enabled = (get_bool "ana.sv-comp.enabled" && get_bool "witness.enabled") || get_bool "exp.arg" in
let open Batteries in
(* apply functor F on module X if opt is true *)
let lift opt (module F : S2S) (module X : Spec) = (module (val if opt then (module F (X)) else (module X) : Spec) : Spec) in
Expand Down

0 comments on commit 95aafbc

Please sign in to comment.