Skip to content

Commit 5dba343

Browse files
forgot to wrap speculative mode around bounds computation
1 parent 4d60a82 commit 5dba343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cdomains/apron/sharedFunctions.apron.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ struct
170170
| exception Invalid_argument _ -> raise (Unsupported_CilExp Exp_not_supported)
171171
| true -> texpr1 e
172172
| false -> (* Cast is not injective - we now try to establish suitable ranges manually *)
173+
GobRef.wrap AnalysisState.executing_speculative_computations true @@ fun () ->
173174
(* try to evaluate e by EvalInt Query *)
174175
let res = try (query e @@ Cilfacade.get_ikind_exp e) with Invalid_argument _ -> raise (Unsupported_CilExp Exp_not_supported) in
175176
(* convert response to a constant *)

0 commit comments

Comments
 (0)