You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(* To invalidate a single address, we create a pair with its corresponding
2124
2124
* top value. *)
2125
-
letinvalidate_addrst(a: Addr.t) =
2125
+
letinvalidate_addr (a: Addr.t) =
2126
2126
let t =Addr.type_of a in
2127
2127
let v = get_addr ~man st a Nonein(* None here is ok, just causes us to be a bit less precise *)
2128
2128
let nv =VD.invalidate_value (Queries.to_value_domain_ask (Analyses.ask_of_man man)) t v in
2129
2129
(a, t, nv)
2130
2130
in
2131
-
(* We define the function that invalidates all the values that an address
2132
-
* expression e may point to *)
2133
-
letinvalidate_expexps=
2131
+
let invalids =
2134
2132
let args = collect_invalidate ~deep~man~warn:true st exps in(* NB! the returned list isn't necessarily as long as exps *)
2135
2133
let args =List.concat_map AD.elements args in(* split all address sets up because each address of different type (and with different current value) should get a different invalidated value *)
0 commit comments