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
letinvalidate ~(must: bool) ?(deep=true)~man (st:store) (exps: exp list): store =
@@ -2129,8 +2129,8 @@ struct
2129
2129
(a, t, nv)
2130
2130
in
2131
2131
let invalids =
2132
-
let args = collect_invalidate ~deep~man~warn:true st exps in(* NB! the returned list isn't necessarily as long as exps *)
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 *)
2132
+
let args = collect_invalidate ~deep~man~warn:true st exps in
2133
+
let args =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 *)
2134
2134
List.map invalidate_addr args
2135
2135
in
2136
2136
letis_fav_addrx=
@@ -2236,8 +2236,8 @@ struct
2236
2236
let deep_args =LibraryDesc.Accesses.find desc.accs { kind =Spawn; deep =true } args in
2237
2237
let shallow_flist = collect_invalidate ~deep:false~man man.local shallow_args in
2238
2238
let deep_flist = collect_invalidate ~deep:true~man man.local deep_args in
2239
-
let flist =shallow_flist @ deep_flist in
2240
-
let addrs =List.concat_map AD.to_var_may flist in
2239
+
let flist =AD.join shallow_flist deep_flist in
2240
+
let addrs =AD.to_var_may flist in
2241
2241
if addrs <>[]thenM.debug ~category:Analyzer"Spawning non-unique functions from unknown function: %a" (d_list ", "CilType.Varinfo.pretty) addrs;
0 commit comments