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.
1 parent bd5d65d commit 76e5d38Copy full SHA for 76e5d38
src/analyses/base.ml
@@ -1875,8 +1875,9 @@ struct
1875
1876
(** From a list of expressions, collect a list of addresses that they might point to, or contain pointers to. *)
1877
let collect_funargs ~ctx ?(warn=false) (st:store) (exps: exp list) =
1878
+ let ask = Analyses.ask_of_ctx ctx in
1879
let do_exp e =
- let immediately_reachable = reachable_from_value (Analyses.ask_of_ctx ctx) (eval_rv ~ctx st e) (Cilfacade.typeOf e) (CilType.Exp.show e) in
1880
+ let immediately_reachable = reachable_from_value ask (eval_rv ~ctx st e) (Cilfacade.typeOf e) (CilType.Exp.show e) in
1881
reachable_vars ~ctx st [immediately_reachable]
1882
in
1883
List.concat_map do_exp exps
0 commit comments