We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
forget_reachable
1 parent 3c4f6cc commit ff6563cCopy full SHA for ff6563c
src/analyses/apron/relationAnalysis.apron.ml
@@ -482,9 +482,8 @@ struct
482
match reachables ask es with
483
| None ->
484
(* top reachable, so try to invalidate everything *)
485
- RD.vars st.rel
486
- |> List.filter_map RV.to_cil_varinfo
487
- |> List.map Cil.var
+ let to_cil_lval x = Option.map Cil.var @@ RV.to_cil_varinfo x in
+ RD.vars st.rel |> List.filter_map to_cil_lval
488
| Some ad ->
489
let to_cil addr rs =
490
match addr with
0 commit comments